Need help with c++ Create a main() Inside main: 1. Declare two integer variables and two double
Question:
Need help with c++
Create a main()
Inside main:
1. Declare two integer variables and two double variables.
2. Using cout, display a line that allows the user to enter in the first integer values on the same line
as the prompt. Then do the same for the second integer variable.
3. Using cout, display a line that allows the user to enter in the first double values on the same line
as the prompt. Then do the same for the second double variable.
4. Display the name of the project and the copyright statement as shown in the screen shot.
5. Using multiple cout statements, display the result of adding, subtracting, multiplying, dividing
and moding the two integer values. You MUST repeat the entered values on each line.
6. Using multiple cout statements, display the result of adding, subtracting, multiplying, and
dividing the two double values. You MUST repeat the entered values on each line.
7. Make sure that there is a title before each of the two outputs and there are blank lines between
the input section and the two output sections.
8. Comment your code.
Extra Credit:
When the code displays the double output, make sure that all values display exactly two decimal places,
regardless of what is entered.