subject

Write a c++ program that allows the user to enter the grades of any number (entered by the user) of students and outputs for every student the average of the student and a message as indicated below. for every student the program allows the user to enter if the student if a boy or a girl (character b used for boy and character g used for girl) and the user enters also up to three tests for the student and then it computes the average of the student accordingly. note a student might not miss any test. however, a student is allowed to miss only up to one test without affecting her/his average grade. so, take this information into consideration while computing the average of the student the program outputs (to the screen) one of the following messages based on the average of a student m: excellent, you got a between 90 and 100) m2: good, you got b average between 80 and 90) м3: ок between 70 and 80) (when the student average (when the student (when the student average m4: failed (when the student average is smaller than 70) the program should also output to the screen the average of all boys and the average of all girls and the average of all students in the class note-2: add comments to your program (comments count 10% of the grade) note-3: your program should start with the following comments

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 03:10
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
You know the right answer?
Write a c++ program that allows the user to enter the grades of any number (entered by the user) of...
Questions
question
Mathematics, 28.01.2021 20:00
question
Mathematics, 28.01.2021 20:00
question
Chemistry, 28.01.2021 20:00
question
Mathematics, 28.01.2021 20:00
question
Mathematics, 28.01.2021 20:00
question
Mathematics, 28.01.2021 20:00
question
History, 28.01.2021 20:00
Questions on the website: 13722363