473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Program to calculate grades of students

1
Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
Oct 1 '07 #1
4 5587
JosAH
11,448 Expert 8TB
Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
You should have asked your question in the C/C++ Forum, not here in the
C/C++ Articles section. I'll move your question to that forum for you.

kind regards,

Jos
Oct 1 '07 #2
Meetee
931 Expert Mod 512MB
Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
Is this your assignment? Have you tried anything? I can give you algorithm for this.

1) Take information of 10 students from user
2) Now use simple average function like avg = sum of scores of 10 students/no. of student
3) There must be some score limit given to analyse pass and fail criteria. Use one condition: if(score < limit) student is failed else student is passed. You can use array and counter for that.
4) print all of them

Regards

PS Read posting guidelines
Oct 1 '07 #3
hariharanmca
1,977 1GB
Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
I think the below two method will helps you.
::Spoonfeeding removed::
Oct 1 '07 #4
sicarie
4,677 Expert Mod 4TB
I've also changed the thread title to actually describe your issue - I think that might actually help people to look at the thread, if they know if they have encountered the same problem as you. Just a thought for future post titles ;)
Oct 1 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: lifeshortlivitup | last post by:
This program is supposed to calculate the number of grades entered and also how many a's, b's, c's, d's, and f's are entered. I have the number of grades part right but can't figure out how to fix...
4
by: hjc | last post by:
i am trying to created a program that will write a grading program for a class with the following policies there are 2 quizzes each graded on the basis of 10 points there is 1 midterm and 1...
3
by: spike29 | last post by:
write an application in Javascriopt that will process peoplesgrades Each person has 4 test grades and you are to compute the average for each sudent. The input will include: 1. student name -...
2
by: Richard Hollenbeck | last post by:
I originally wrote my grades program in MS-Access to help community college teachers in the California community colleges keep track of their students' grades and produce reports for the students...
0
by: Racqetsports | last post by:
Hi there, In a gradebook database, student grades must be computed from 2 scores: a Daily grade, and then scores from Assignments. Knowing about nested forms, I am requesting direction on how to...
8
by: midknight5 | last post by:
Heya everyone, I am a freshman in college and am taking C++. This is not a begging thread for someone to solve my problem because I am interested in learning this myself. So here is my question:...
1
by: gator6688 | last post by:
I have to write a program that allows the user to enter the information for up to 20 students. The info then has to be displayed and written to a file. After I enter the first students info and hit...
1
by: Sleepwalker817 | last post by:
Hello, I am trying to create a program that is supposed to calculate and print the average of several grades entered by the user. The output is supposed to look something like this:...
14
by: xtheendx | last post by:
I am writing a gradbook type program. It first allows the user to enter the number of students they want to enter. then allows them to enter the first name, last name, and grade of each student. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.