Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ . . Assignment #6 Steps to submit Complete the assignment #6 and place your work in Dropbox folder, W6- Dropbox Assignment. Make sure you
C++
. . Assignment #6 Steps to submit Complete the assignment #6 and place your work in Dropbox folder, "W6- Dropbox Assignment". Make sure you turn in your work in the following format: {Last Name}, {First Name}_A06.cpp e.g. - "Doe, John_A06.cpp" Make sure to place your name in the program before compiling. "This program was written by, John Doe." NOTE Your program must have a multiline commented Banner with your name, course number title, assignment number, Semester/year Program (all the statements) must be well-commented Program must be properly indented . . . . Assignment #6 Description Write the necessary program in C++ that does the following: 1. Declares a decimal value of spaces for storing a user inputted number, a total, an average 2. Declares a whole number type constant value space and Stores the value of 10 as the number of times the program get the input from the user 3. Using a repetition structure that runs 10 times, a) Asks (prompts) the user to input a value by using the prompt "Enter a number: "on the screen b) Reads the user's inputted value from the keyboard and Stores it in the variable created for user inputted number c) Adds it to the total Assignment #6 Description (continued....) 4. After it is done getting all the inputs from the user and finding the total, Calculates the average by dividing the total with the number of numbers 5. Displays the total and average of the inputted numbers Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started