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

posted by lreyesorg

First Name

Your Answer

## Similar Questions

1. ### 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
2. ### 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
3. ### 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.
4. ### 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.
5. ### 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
6. ### 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
7. ### 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
8. ### 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
9. ### 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 pseudo-code for the program above b) write
10. ### Algorithm

write a pseudo code algorithm that will accept 20 numbers and finds their product

More Similar Questions