# 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

1. 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

## Similar Questions

1. ### 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 …
2. ### 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 …
3. ### Algorithm

write a pseudo code algorithm that will accept 20 numbers and finds their product
4. ### 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
5. ### 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 …
6. ### 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
7. ### 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.
8. ### Information technology

. Develop an algorithm pseudo-code 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 …
9. ### 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.
10. ### 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 …

More Similar Questions