subject

ELEN 1301 Programming Assignment #5 Due date: Specified on the web site. (Due at the end of the day.) Please submit: 1. A flowchart of this program. (2 pts) 2. Printout of your C++ program with a heading comment (with proper spacing and indentation). 3. Copy of two screenshots after your program is executed. Your average must show 3 digits below the decimal point. (Hint: use setw, fixed, setprecision.) You are required to show the minimum value of the entered numbers. You are required to show the maximum value of the entered numbers. (8 pts – You must include your program and those two results) Due date Purpose of the program : Calculate an average of four numbers. Section 1 : Enter four numbers. Section 2 : Calculate the average and display the answer. Section 3 : Calculate the average and display the answer. #include using namespace std; int main() int ni, n2, n3, n4, a; double b; // Section 1. cout << "Enter last digit of your Student ID : "; cin >> ni; cout << "Enter last digit of your Student ID +1: "; cin >> n2; cout << "Enter last digit of your Student ID + 2 : "; cin >> n3; cout << "Enter last digit of your Student ID + 4 : "; cin >> n4; // Section 2. a = (nl + n2 + n3 + 04) / 4; cout << "The average is : " < a << endl; 1/ Section 3. b = (nl + n2 + n3 + n4) / 4.0; cout << "The average is : " << b << endl; ; return ) // main

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
question
Computers and Technology, 24.06.2019 12:50
When is it most apprpriate for a development team to change the definition of done
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
You know the right answer?
ELEN 1301 Programming Assignment #5 Due date: Specified on the web site. (Due at the end of the day....
Questions
question
Mathematics, 28.03.2021 16:00
question
Business, 28.03.2021 16:00
question
Mathematics, 28.03.2021 16:00
question
Mathematics, 28.03.2021 16:00