Write a program that asks a student for his/her grades assessing his/her C++ programming skills. The...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program that asks a student for his/her grades assessing his/her C++ programming skills. The student gets a separate grade for each homework assignment and the lab exam associated with it. In order for the student to pass the class, he/she needs to achieve 50% or better in all possible "dimensions", i.e., >= 50% average in homework assignments • >= 50% average in lab exams Assume that the student has been given 5 "sets" of homework assignments and lab exams, respectively, and that the scores are given in percentages. The program should get input from the screen and do the following: a) Calculate the best, worst, and average grades for each of the two components (hw assignments and lab exams). b) Calculate the overall grade of the student with every component carries the same weight. c) Decide whether the student passes the class or not. If the student cannot pass the class, the program should output the reason why. d) Output on the screen the input and results so that they look similar to this (use appropriate tools for formatting 1/0): 2 3 4. 15 BEST WORST AVG 94.00 90.00 80.00 100.00 100.00 10OL0 60.00 BOLOD 100.00 100.00 100.00 HW LAB 70.00 90.00 10000 AVG 100.00 95.00 75.00 80.00 95.00 Overall: 89 (option 1) (option 2) performance in <enter component here> was <504. Ty again next senester. Congratulations! You passed the class I'm sorry to inform you that you Ealed the cass, bedause yous e) (Optional) Output the same information as above to a file. The user should input the file name during run time). Do this part only if you know how to write to a file. Will teach in the class later. Write a program that asks a student for his/her grades assessing his/her C++ programming skills. The student gets a separate grade for each homework assignment and the lab exam associated with it. In order for the student to pass the class, he/she needs to achieve 50% or better in all possible "dimensions", i.e., >= 50% average in homework assignments • >= 50% average in lab exams Assume that the student has been given 5 "sets" of homework assignments and lab exams, respectively, and that the scores are given in percentages. The program should get input from the screen and do the following: a) Calculate the best, worst, and average grades for each of the two components (hw assignments and lab exams). b) Calculate the overall grade of the student with every component carries the same weight. c) Decide whether the student passes the class or not. If the student cannot pass the class, the program should output the reason why. d) Output on the screen the input and results so that they look similar to this (use appropriate tools for formatting 1/0): 2 3 4. 15 BEST WORST AVG 94.00 90.00 80.00 100.00 100.00 10OL0 60.00 BOLOD 100.00 100.00 100.00 HW LAB 70.00 90.00 10000 AVG 100.00 95.00 75.00 80.00 95.00 Overall: 89 (option 1) (option 2) performance in <enter component here> was <504. Ty again next senester. Congratulations! You passed the class I'm sorry to inform you that you Ealed the cass, bedause yous e) (Optional) Output the same information as above to a file. The user should input the file name during run time). Do this part only if you know how to write to a file. Will teach in the class later.
Expert Answer:
Answer rating: 100% (QA)
Solutions Program importing the libraries include include using namespace std initializing the main ... View the full answer
Related Book For
Database Systems A Practical Approach to Design Implementation and Management
ISBN: 978-0132943260
6th Edition Global
Authors: Thomas Connolly, Carolyn Begg
Posted Date:
Students also viewed these finance questions
-
In Python 1) Write a program that asks the user to enter a string. The program should then print the following: (a) The total number of characters in the string (b) The string repeated 10 times (c)...
-
Write a program that asks for the user's height, weight, and age, and then computes clothing sizes according to the formulas: Hat size = weight in pounds divided by height in inches and all that...
-
Write a program that asks user to input his/her full name and outputs the name in reverse. Hint: Cannot use STRREV()
-
1-Kristen prefaces her speech by talking about her inability to save or invest money. For that reason, she does her speech on an online money management course and focuses on the skills she learned...
-
A statistics professor once made a big blunder by announcing to his class of about 50 students that he was fairly certain that someone in the room would share his birthday. We have already learned...
-
Indicate which category (profitability, liquidity, financial leverage) the following ratios belong to. a. Return on equity b. Cash/Assets c. Debt/Equity d. Return on assets e. Current ratio f....
-
The capital structure of Knightsbridge, Inc., at December 31, 2006, included 20,000 shares of \(\$ 1.25\) preferred stock and 40,000 shares of common stock. Common stock outstanding during 2007...
-
Likewise, effective strategic leadership requires a thorough knowledge of the organization that youre trying to lead, including its strengths and weaknesses. What appear to be the organizational...
-
You have fives bonds as shown in the below. Three are zero coupon bonds and the other two are coupon bonds. By applying bootstrapping you would like to compute each spot rate for each bond and figure...
-
J.A. Coghill owned a used Rolls Royce Corniche automobile, which he sold to a man claiming to be Daniel Bellman. Bellman gave Coghill a cashiers check for $ 94,500. When Coghill tried to cash the...
-
1. How many electrons make up a charge of 1.0 MC? 2. What is the total charge on 1.0 kg of electrons?
-
You will choose a case from the topics of the chapter readings that applies to the employment regulations and laws. Students are to research a Supreme Court case involving one of the laws or acts...
-
You have an option for two different machines on your new project. Each machine will provide the same function, but there are differences in cost, benefits, life and other details. Expenses, machine...
-
If a person rejoins the labor force and starts looking for work, then what effect an unemployment rate would make in labor-force participation? Explain
-
Under the provisions of the Companies Act, 2017 comment on each of the following independent situations: (i) (ii) (iii) Opticians Limited (OL), a listed company, plans to appoint Yameen as an...
-
A project that provides annual cash flows of $15,300 for nine years costs $74,000 today. a. At a required return of 8 percent, what is the NPV of the project? Note: Do not round intermediate...
-
1. Grawburg Inc. maintains a call center to take orders, answer questions, and handle complaints. The costs of the call center for a number of recent months are listed below: April May June July...
-
In a certain school district, 3% of the faculty use none of their sick days in a school year. Find the probability that 5 faculty members selected at random used no sick days in a given year.
-
Now create the Room, Booking, and Guest tables using the integrity enhancement features of SQL with the following constraints: (a) Type must be one of Single, Double, or Family. (b) Price must be...
-
Describe the process of evaluating and selecting a DBMS product for each of the case studies described in Appendix B.
-
Describe the general structure of a PL/SQL block.
-
Which of the following is not advice for closing projects or phases? A. You dont need to celebrate completing a project, especially if it did not go well. B. You should capture lessons learned as...
-
What are the six different versions of project management software offered by Microsoft as of April 2016? Briefly describe how they differ and who uses them.
-
A __________ is a procedure that has been shown by research and experience to produce optimal results and that is established or proposed as a standard suitable for widespread adoption. A. benchmark...
Study smarter with the SolutionInn App