Write program to allow user to enter marks of students

Assignment Help Programming Languages
Reference no: EM1362717

Q1) Write a program that allows user to key in marks of students. The number of students is determined by the user at the start of the program. The program should then:

- Find the total and average of the marks. The average is to be performed through function call, and its output is to be shown in two significant figures.
- The number of students passed, where passing mark is 50 and above.
- Notice the "st", "nd", "rd" and "th" of the numbers, which should be included. For example, 1st, 2nd, 3rd, 4th , 28th, etc.
- If more than 75% students passed, then print the output "The students did well". Otherwise, print "the students should work harder".

Reference no: EM1362717

Questions Cloud

Organic food and bottled water : Is organic food a fad and why does it cost more than normal food and aren't pesticides used on organic food also?
Illustrate what happens to the marginal product : Illustrate what happens to the marginal product of each individual factor as that factor is increased, and the other factor is held constant.
Determining production costs : The Fancy Umbrella Company makes beach umbrellas. The production process requires 3 square meters of plastic sheeting and a metal pole. The plastic sheeting costs $0.50 per square meter and each metal pole costs $1.00.
Hospital maintenance case : How many hours each month are spent performing preventive maintenance if they achieve their 90% utilization and corrective/ preventive mix targets?
Write program to allow user to enter marks of students : Write a program that allows user to key in marks of students. The number of students is determined by the user at the start of the program.
Which type of research is professor carter employing : Which kind of research is Professor Carter employing.
Taxation of nonprofit organizations : Your local government created an agency to serve the local community in providing low income housing. That housing agency, called the Local Housing Board, is a tax exempt agency of local government and was created to receive federal funds for hous..
Differences between secured and unsecured creditors : Determine the principal differences between Secured Creditors, Unsecured Creditors, Preferred Stockholders and Common Stockholders? During a partial or complete liquidation, what is the priority of asset distribution?
Explain why do firms choose to make large increases : Explain Why do firms choose to make large increases in their dividends or start a stock repurchase program?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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