Write a C++ program to prompt the user to input her/his name and print this name on the screen.

 Q. 1 Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6 to them respectively. It then prints these values on the screen.

Q. 2 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 to display the text on the screen you can use cout<<.

 

3. Write a program in c++ that prints a 'pyramid' shape of a specified height on the screen.
Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: