Professional Documents
Culture Documents
2. Exercise 2: Write five C++ statements to print the asterisk pattern as shown below.
*****
*****
*****
*****
*****
3. Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6
4. Exercise 4: Write a C++ program to prompt the user to input her/his name and print this
name on the screen, as shown below. The text from keyboard can be read by using cin>> and
5. Exercise 5: Write a C++ program to prompt the user to input 3 integer values and print these