"sync_Expert only"
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.
Q.4 Write a program that print the following menu and get a user choice and execute the program.
*****Menu****
1.Swap Number
2.Grade
3.Pyramid
4.Reverse
Enter a User choice:
Hint: Use switch statement or for exit from program use “exit (1);” statement.
10 years ago
10
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- c.txt
Bids(1)
other Questions(10)
- HRM 326 Week 5 Learning Team Assignment Professional Development Plan
- Suppose the supply function for product X is given by QXS = - 30 + 2Px - 4Pz.
- persuasive speech
- 2) The racialization of labour market inequality in Canada (Thomas, 2010)
- Direct & indirect communication styles and challenges in business context
- Need help writing this paper
- Classical Research Argument Essay
- FIN 534 Quiz 3 Week 4
- PSY 870 Module 6 Problem Set - Factorial (2 × 3) MANOVA
- Summary