Information technology
Write an algorithm,flowchart,pseudo cod and finally a c++ code that will accept exam score for five users and find the average,minimum and maximum of the score
asked by
Mawuyram

#include<iostream>
#include<c.string>
using namespace std;
int main()
{
int arr[25];
string name[25];
for (int i=0;i<25;i++)
{
cout<<"the name"<<endl;
cin>>name[i];
cout<<"marks"<<ndl;
cin>>arr[i];
}
int sum=0;int avg;
for(inti=0;i<25;i++)
{
sum=sum+arr[i];
}
avg=sum/25;
int max=a[0];
for (int i=0; i<25;i++)
{
if (max<a[i])
max=a[i];
}
cout<<"Class average is: "<<avg<<endl;
cout<<"highest marks are: "<<max<<endl;
return 0;
}
hopes this helpsposted by lreyesorg
Respond to this Question
Similar Questions

Joseph Ayo Babalola University
Score 1,Score 2 and Score 3 are the marks scored by a student in three tests. Write a pseudo code,an algorithm and draw a flowchart to find the average of best two score 
Information Technology
Develop an algorithm, flow chart and pseudocode that accept as input three unit test scores and a project score for seven students. The algorithm, flow chart and pseudocode should accept seven examination scores. The students's 
Computer science
Score 1,Score 2 and Score 3 are the marks scored by a student in three tests. Write a pseudocode,an algorithm and draw the flowchart to find the average of best two scores. 
ALGORITHM
Write an algorithm and flowchart that will accept score of 30 student in a class calculate and print the average mark in basic program. 
pseudo code algorithm
Write a pseudo code algorithm which: • Determines the average weight of a person over a particular year. • For each month, your algorithm should input the person's weight for that month (a positive real number). Your algorithm 
Algorithm
write a pseudo code algorithm that will accept the marks in a test for a group of 25 students then calculate and display the average mark 
Information technology
. Develop an algorithm pseudocode or flowchart that will accept the names of each sales staff members and their total sales for the month. The algorithm must calculate the commission at 5 % of their total sales amount. It should 
MATH
Katie must take five exams in a math class. Her scores on the first four exams were 68, 66, 82, and 80. Answer the following questions: The maximum score on an exam is 100 points. If it is not possible for Katie to achieve the 
c programming
a student designed a program to accept the age of an employee and then compute the employees retirement year and display the same in a statement on the screen required. a) write out the pseudocode for the program above b) write 
Algorithm
write a pseudo code algorithm that will accept 20 numbers and finds their product