int main() { //Step 1 (define all variables first) //values come from user input via input statement....do NOT supply values with definition //define a variable appropriate to hold the population of the US 300,000,000+ //define a variable appropriate to hold the average family income in the US 51,321.43 //define a variable appropriate to hold the hourly wage of 1 family member 17.98 //define a variable appropriate to hold the count of the total student attending SPC 30,609 // define a variable appropriate to hold the total GNP of Florida 754,256,198.95 //define a variable appropriate to hold a single character to represent person's gender //Step 2 ( a series of questions getting input from the user, do not type in commas for values as in 123,123.00....it is typed as 123123.00) // Create cout prompts asking the user to input a value for each of the variables - 1 cout per variable followed immediately by a cin to hold the user keyboard input value for the variable. You should inform the user not to enter commas! //Step 3 (output all of the data to the screen) //Create cout's to put the value of each variable on the screen. If the number of decimal positions is different than you put in or it prints in scientific notation, it is still correct. Make the program beep 5 times using escape sequences. You may only hear one beep...they are spaced too closely together for the human ear to differentiate if your computer has a really fast processor.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 3E
icon
Related questions
Question
493% 8:11 ← Expert Q&A int main() { //Step 1 (define all variables first) //values come from user input via input statement....do NOT supply values with definition //define a variable appropriate to hold the population of the US 300,000,000+ //define a variable appropriate to hold the average family income in the US 51,321.43 //define a variable appropriate to hold the hourly wage of 1 family member 17.98 //define a variable appropriate to hold the count of the total student attending SPC 30,609 // define a variable appropriate to hold the total GNP of Florida 754,256,198.95 //define a variable appropriate to hold a single character to represent person's gender //Step 2 ( a series of questions getting input from the user, do not type in commas for values as in 123,123.00....it is typed as 123123.00) // Create cout prompts asking the user to input a value for each of the variables - 1 cout per variable followed immediately by a cin to hold the user keyboard input value for the variable. You should inform the user not to enter commas! //Step 3 (output all of the data to the screen) //Create cout's to put the value of each variable on the screen. If the number of decimal positions is different than you put in or it prints in scientific notation, it is still correct. Make the program beep 5 times using escape sequences. You may only hear one beep...they are spaced too closely together for the human ear to differentiate if your computer has a really fast processor.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Types of Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr