include using namespace std; int main() int scorel, score2, score3: // Three scores // Average score // TO hold Y or N input double average: char again; do // Get three scores. cout << "Enter 3 scores and I will average theme cin >> scorel >> score2 >> score); // Calculate and display the average. average - (acorel + score2+ score3)/ 3.0 cout << "The average ie << average e-\n 22 23 24 25 26 I/ Does the user want to average another set? cout << * Do you want to average another set? (Y/N) cin >> again) ) while (again -- Y 1| again -- 'y'): return o; O (N) O (1) Option 2 O Option 1 O ㅇ (N3) O (N) Option 4 Option 3 O

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

3 Calculate Big O

DO NOT COPY FROM OTHER WEBSITES

include <iostream>
using namespace std;
int main()
int scorel, score2, score3; // Three scores
double average:
char again;
// Average score
// To hold Y or N input
10
1
12
do
13
// Get three scores.
cout << "Enter 3 scores and I will average themi
cin >> scorel >> ncore2 >> score3;
24
15
16
17
10
19
// Calculate and display the average.
average - (Bcorel + score2 score3) /3.0;
cout << "The average is << average <<"-\n";
20
21
// Does the user want to average another set?
cout e "Do you want to average another set2 (Y/N) "
cin >> again;
) while (again -Y 1| again -- 'y'):
return O
22
23
24
25
26
27
O (N)
O (1)
Option 2 O
Option 1 O
O (N )
O (N?)
Option 4 O
Option 3 O
Transcribed Image Text:include <iostream> using namespace std; int main() int scorel, score2, score3; // Three scores double average: char again; // Average score // To hold Y or N input 10 1 12 do 13 // Get three scores. cout << "Enter 3 scores and I will average themi cin >> scorel >> ncore2 >> score3; 24 15 16 17 10 19 // Calculate and display the average. average - (Bcorel + score2 score3) /3.0; cout << "The average is << average <<"-\n"; 20 21 // Does the user want to average another set? cout e "Do you want to average another set2 (Y/N) " cin >> again; ) while (again -Y 1| again -- 'y'): return O 22 23 24 25 26 27 O (N) O (1) Option 2 O Option 1 O O (N ) O (N?) Option 4 O Option 3 O
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY