Information technology
posted by Mawuyram
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

lreyesorg
#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 helps
Respond to this Question
Similar Questions

Computer Programing & Logic Design
Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average … 
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 required … 
Algorithm
write a pseudo code algorithm that will accept 20 numbers and finds their product 
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, 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 overall … 
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 
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. 
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 display … 
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 …