1. Write an interactive program to process the exam scores for a group of students in...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Write an interactive program to process the exam scores for a group of students in a C++ programming course. Begin by specifying the number of exam scores for each student. Then enter each student's name and exam scores. Calculate an average score for each student, and on overall class average. Write out the overall class average, followed by the name, the individual exam scores and the average score for each student. Store the student names in a two-dimensional character array, and store the exam scores in a two dimensional floating-point array. Test the program using the following set of student exam grades. Name п II midterm midter midterm Grade 100 - 90 A+ 89 - 85 A 84 - 80 B+ 79 - 75 B 74 - 70 B- 69 - 65 C+ 64 - 60 C 59 - 55 C- 54 - 52 D+ 51 - 50 D Ali 65 80 84 B+ Brown 54 76 84 B+ Davis 48 89 94 A+ C+ Smith 78 66 65 Mehmet 77 78 98 A+ Kaya Jones 55 79 78 50 70 80 B+ A+ Prince 65 100 95 49 -0 F 2. Write a C++ programming using struct in C++ according to the table. 3. Implement the following functions. a) Function Celsius returns the Celsius equivalent of a Fahrenheit temperature. b) Function Fahrenheit retuns the Fahrenheit equivalent of a Celsius temperature. c) Use these functions to write a program that prints charts showing the Fahrenheit equivalents of all Celsius temperatures from 0 to 100 degrees, and the Celsius equivalents of all Fahrenheit temperatures from 32 to 212 degrees. A. 1. Write an interactive program to process the exam scores for a group of students in a C++ programming course. Begin by specifying the number of exam scores for each student. Then enter each student's name and exam scores. Calculate an average score for each student, and on overall class average. Write out the overall class average, followed by the name, the individual exam scores and the average score for each student. Store the student names in a two-dimensional character array, and store the exam scores in a two dimensional floating-point array. Test the program using the following set of student exam grades. Name п II midterm midter midterm Grade 100 - 90 A+ 89 - 85 A 84 - 80 B+ 79 - 75 B 74 - 70 B- 69 - 65 C+ 64 - 60 C 59 - 55 C- 54 - 52 D+ 51 - 50 D Ali 65 80 84 B+ Brown 54 76 84 B+ Davis 48 89 94 A+ C+ Smith 78 66 65 Mehmet 77 78 98 A+ Kaya Jones 55 79 78 50 70 80 B+ A+ Prince 65 100 95 49 -0 F 2. Write a C++ programming using struct in C++ according to the table. 3. Implement the following functions. a) Function Celsius returns the Celsius equivalent of a Fahrenheit temperature. b) Function Fahrenheit retuns the Fahrenheit equivalent of a Celsius temperature. c) Use these functions to write a program that prints charts showing the Fahrenheit equivalents of all Celsius temperatures from 0 to 100 degrees, and the Celsius equivalents of all Fahrenheit temperatures from 32 to 212 degrees. A.
Expert Answer:
Answer rating: 100% (QA)
1 Using arrays include using namespace std float studentAvgfloat afloat b float c float sumavg sumabc avgsum3 return avg string calculateGradefloat avgScore string g ifavgScore90 gA else ifavgScore85 ... View the full answer
Related Book For
Basic Statistics for the Behavioral Sciences
ISBN: 978-0840031433
6th edition
Authors: Gary W. Heiman
Posted Date:
Students also viewed these programming questions
-
A researcher measures the following scores for a group of people. The X variable is the number of errors on a math test, and the Y variable is the persons level of satisfaction with his/her...
-
A group of students held their breath as long as possible and recorded the times in seconds. The times went from a low of 25 seconds to a high of 90 seconds, as you can see in the stemplot. Suggest...
-
An athletic director is recording long-jump scores for a group of students. The expected value of each of their long jumps is 7 meters, and the standard deviation is 0.2 meters. If 20 such jumps are...
-
Ellie, a CPA, incurred the following deductible education expenses to maintain or improve her skills: travel and transportation 1700.00 Tuition 6000.00 Books 800.00 Elli's AGI FOR THE YEAR IS 60,000...
-
The demand function for a cola-type soft drink in general is Q = 20 - 2P, where Q stands for quantity and P stands for price. a. Calculate point elasticities at prices of 5 and 9. Is the demand curve...
-
Given that log 10 2 0.3010 and log 10 3 0.4771, find each logarithm without using a calculator. 3 log10
-
Northern Group, Inc., is a Wisconsin corporation that contracts with manufacturers and suppliers to develop marketing strategies and promotions to third-party retailers. In exchange for these...
-
On November 1, 2017, the account balances of Hamm Equipment Repair were as follows. During November, the following summary transactions were completed. Nov. 8 Paid $1,700 for salaries due employees,...
-
Max Labs Inc. current portfolio of products has a 10% IRR and a 10% standard deviation. The correlation coefficients with the firm portfolio are 0.5 (r=0.5) for both, Dog Treats and Dog Food; zero...
-
Sofia Lofts case, but under a new set of assumptions on page 11 of the case. First re-read the Sofia Lofts case, then click here to download the new page 11. Specifically, you are to write up a brief...
-
G creates a trust, income to be accumulated until G's son, S, is 21, at which time accumulated income and corpus is to be distributed to S or S's estate. A) What other terms are necessary to qualify...
-
Analyse strategies for managing team leaders Strategies are important for managers in order to effectively lead a team. Examples of effective strategies to manage the team Delegation- What is...
-
Evaluate with the use of primary research findings ; to what extent the google culture would be effective in the Jamaican private sector. Provide a list of questions excluding open-ended questions...
-
What is meaning of DMAC ? Explain this term Is DMAC hardware or software?
-
Explain the similarities and differences between cache memory and virtual memory.?
-
How does use of cache memory benefit multicore systems? How does it complicate them?
-
What was her basis in the stock and the loan at the end of last year? Explain.
-
A non-charmed baryon has strangeness S = 2 and electric charge Q = 0. What are the possible values of its isospin I and of its third component I z ? What is it usually called if I = 1/2?
-
What does each of the following terms mean? (a) ANOVA (b) One-way design (c) Factor (d) Level (e) Treatment (f) Between subjects (g) Within subjects
-
We find that the correlation between math ability (X ) and musical aptitude scores (Y) is r = +.44. The standard error of the estimate is SY, = 3.90. Bubbles has a math score of 60 and Foofy a score...
-
In question 23, (a) How would you determine which variable to call X? (b) In a different study, my title is Creativity as a function of Intelligence. Which variable is my X variable? Why?
-
Nina Lopez and Matt ORourke have been trying to raise capital to expand their growing chain of cupcake shops, Treasure Cup. They make a full range of traditional cupcakes, but they found immediate...
-
Wish You Wood is a toy boutique located in the main shopping strip of a resort town near Piney Lake. People who own cabins near the lake or come to visit the local state park enjoy browsing through...
-
Alyssia Franklin is a marketing manager for Or Earth Skin Care. Four years ago, when she was hired to help with promotional campaigns, she was thrilled because she loved Or Earths products. Above all...
Study smarter with the SolutionInn App