logo

write a c++ statement as follows: a. Declare ...

Computer Science

12 Aug 2021

write a c++ statement as follows: a. Declare int variable num1 and num2. b. Prompt the user to input two numbers c. Input the first number in num1 and the second number in num2. d. Output num1, num2, and 2 times num1 minus num2. Your output must identify each number and the expression e. Declare a double-named salary f. Assign 15 to x and y g. Input the user’s age h. Initialize total to 0 i. Declare a variable named address to store 15 characters. j. Declare a constant as float and assign it to 0.125 Statement in C++ k. Declare three variables as integers. Initial the first variable to 10. l. Declare 5 variables, whereby the first three variables are float and the last two variables are integer

Desklib

Looking for a correct answer fast?

or

Contact us at     +1 306 205-2269

Chat with our experts. we are online and ready to help.

Solutions

12 Aug 2021

...

Get Expert Help

Related Questions

09-Nov-2022

Programming question ...

05-Nov-2022

A new room tax system is required ...

04-Nov-2022

How many watts in a micro watt ...

22-Oct-2022

Write a letter to a bank or ...

21-Oct-2022

Please assist with how we write the ...

18-Oct-2022

what is the database ...