subject

Write a C++ program to calculate the percentage and grade of the 5 students according to the following requirements: β€’ 1D array for student ID's of type int β€’ 1D array for student names of type string β€’ 2D array of size 5 x 5 for subjects (English, Urdu, Mathematics, Physics, Computer) Your program should prompt the user to enter the data and display the output according to following template: ID Name English Urdu Math Physics Computer Total Percentage Grade 1 Ali 78 68 89 71 59 365 73% B Grade A+ A Percentage 90 and above 85 - 89 80 - 84 75 - 79 70-74 A- B+ B 65-69 B- 60-64 C+ с 55 - 59 50-54 Below 50 C- F

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since itÒ€ℒs an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
Assume you need to test a function named inorder. the function inorder receives three int arguments and returns true if and only if the arguments are in non-decreasing order: that is, the second argument is not < the first and the third is not < the second. write the definition of driver function testinorder whose job it is to determine whether inorder is correct. so testinorder returns true if inorder is correct and returns false otherwise. for the purposes of this exercise, assume inorder is an expensive function call, so call it as few times as possible!
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
How does computer network work in a paragraph
Answers: 1
You know the right answer?
Write a C++ program to calculate the percentage and grade of the 5 students according to the followi...
Questions
question
Chemistry, 10.02.2021 09:20
question
Mathematics, 10.02.2021 09:20
question
Mathematics, 10.02.2021 09:20
question
Mathematics, 10.02.2021 09:20