Professional Documents
Culture Documents
برمجة مستوى اول
برمجة مستوى اول
1) The object used to print information on the screen in C++ program is:
a) 29 b) 15 c) 17 e)
a) /* */ b) // c) /
5) The ……… represents the newline character, which causes the cursor to position to the
beginning of the next line on the screen.
a) \n b) \t c) \ a
1. Write Write a program to print even integer number from 1 to 20 using for statement
2. Write a C++ program that reads an integer and determines and prints whether it is
positive or negative.
3. Write a C++ Program like a calculator for the basic operations, the user enters two
numbers and operation, the program calculates the result by switch statement.