Day 5

 Hello again

I was late yesterday in providing the content for family reasons, there was a wedding, so I decided to take the part that was supposed to be taken yesterday with today's part, but in two separate articles, and I will try hard not to repeat this
again

I learned today how to make a code for the area, so when writing the code, I ask the user to write the length and I take it

In the variable length and width and take it in the variable width and then I write the variable length * variable width and take it in the variable area and I display it in the output. For the user

And also learn how to write the string with the integer, which is after writing the text, start by writing %d and closing the quotation mark and writing the variable containing the number to be printed, and thus the string is printed with the
integer

Also learn how to write the ++ and --, which is when writing the command ++, it adds 1 to the number stored in the variable, and about the --, it subtracts 1 from the amount stored in the variable. I did not understand why it is very important, but I will understand in the rest of the course. I will go to complete now

تعليقات

المشاركات الشائعة