Write program that asks user how many students to process

Assignment Help Basic Computer Science
Reference no: EM13231014

Write a program that asks the user how many students to process (must be at least 1, but no more than 20) and then reads in the scores for three items, an exam average score (double number), lab average score (double number) and homework average score (double number). After the program reads in all the scores for each student, it calculates and displays a table of the students' grade information. All information for a single student is in one row of the table. Each row contains the student's number (SN, which is just the row number); exam, lab and homework scores; calculated point score as a weighted average (60% for exam, 30% for lab and 10% for homework); and letter grade based on the point score. After the table is displayed, the overall class averages for exam, lab, homework and point score are displayed. Each student's letter grade is based on their point grade: 90 and above: A At least 80 but less than 90: B At least 70 but less than 80: C At least 60 but less than 70: D Less than 70: F

Reference no: EM13231014

Questions Cloud

Determine the value of inductor in parallel and in series : On a logarithmic vertical axis from 1ohm to 1Gohm, and a logarithmic horizontal axis from 1rad/sec to 10^9 rad/sec, sketch the following: a) A 1 kOhm resistor and a 1 mH inductor in parallel and (separate curve) in series.
Explain what concentration of ag remains : AgNO3 is mixed with a 230 mL sample of a solution that is .13 M in NaCN. After the solution reaches equilibrium, what concentration of Ag remains?
Compute the gibbs free energy change of transformation : Calculate the Gibbs free energy change of transformation at 286 K and 1 atm. Tin transforms from gray tin to white tin at 286 K and constant pressure of 1 atm. The following data are given for both gray and white tin:CP = 21.6 + 18.2 x 10-3 T
Describe the hypothyroidism and hyperprolactinemia : In the case of hypothyroidism induced by a hyperprolactinemia, whatwould the levels of PRL, TRH, TSH, and thyroid hormones
Write program that asks user how many students to process : Write a program that asks the user how many students to process (must be at least 1, but no more than 20) and then reads in the scores for three items, an exam average score (double number), lab average score (double number) and homework average s..
State the final temperature of the two pieces of metal : A 15.0 g piece of iron (Cp = 25.09 J/mol-C) is heated to a temperature of 47.0 ?C and then placed in contact with a 275 g piece of copper at 20.0 ?C (Cp = 25.46 J/mol-C). What was the final temperature of the two pieces of metal?
Explain what is the change in internal energy : What is the change in internal energy (?E) when a system loses 10 kJ of energy and 5000 J of work is done on the system?
Calculate the hole diffusion current density versus x : The total current in a semiconductor is constant and is composed of electron drift current and hole diffusion current. The electron concentration is constant and is equal to 10^17 cm^-3. The hole concentration is given by p(x)
State what is the volume of the gas under the new conditions : 25.0 mL of a gas with a pressure of 1.00 atm is contained in a balloon at 25.0 C. The balloon is then cooled to 5.0 C, and the pressure is found to be 0.750 atm. What is the volume of the gas under the new conditions?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write an application where the user to specifies

Write an application where the user to specifies the polygonal Base of a prism using the mouse. it then creates the vertex, normal, and face lists for the prism, and displays it.

  Swot analysis results of the new ict service

Compare the SWOT Analysis results of the current ICT service with the SWOT Analysis results of the new ICT service.

  Ways to avoid communication pitfalls

Based on the section on "Watch out for communication pitfalls" in the Bateman and Snell text, describe some ways that Lei could have avoided this situation.

  In what ways does it planning help managers exercise

In what ways does IT planning help managers exercise control in a situation? Does IT impact the truck driver of a company who delivers supplies to its customer?

  Explain how this application can be used

Explain how this application can be used to collect data from customers and employees to improve operational performance

  Compare and contrast twisted pair cable

Compare and contrast twisted pair cable, coaxial cable, fiber-optics, and wireless for this application. You should create a table or flow chart which would facilitate choosing between these options depending on circumstances.

  What size of packet will result in the last bit

Given a transmission speed of T bits/second, a packet size of B bytes, a propagation speed of P m/s and a cable length of L meters, what size of packet will result in the last bit being transmitted just as the first bit of the packet arrives at th..

  Explain how data and information can be categorised

What is meant by data? What is meant by information? How can data information be categorised? Where from? Used for?

  Possibility-using fiber optic cable instead of twisted pair

Discuss the possibility of using fiber optic cable instead of either twisted pair cable or staying with the existing coax wiring structure.

  Write an algorithm to compute a student average grade

Weight is 20, maximum score is 75 iii. Final exam - Weight is 30, maximum score is 100 As an example, if a student scores 100 on the Homework Assignments, 55 on the Midterm exam and 85 on the Final exam, then their average grade is rounded to 82.

  Utilized in enterprise network management systems

research and report on what RMON and RMON probes are and how they are utilized in enterprise network management systems and how they benefit.

  Design a nine-step counter to count using d flip-flops

Design a nine-step counter to count in the following sequence using D flip-flops (TTL 74704) on a breadboard and on verilog: 0011, 0101, 1001, 1000, 1011, 1010, 0110, 0100, 0111, 0011, ... Include in the design a means for resetting the counter to 00..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd