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

  Determining suitable parameters if pass-by-reference is used

Subprocedures in VBA utilize pass-by-reference. Which function or sub procedure alters its parameter?

  Write program that uses recursive function to count number

Write a program that uses a recursive function to count the number of blobs in a square grid. Input to the program should consist of the locations of the asterisk in the grid.

  Create test application that creates objects of type book

Create a test application that creates several objects of type book class and adds each Book to an ArrayList. Your test application should then do the following.

  Develop vision system for building high safe mobile robot

You are tasked to develop a vision system for building a high safe mobile robot. In particular, your system should give a warning alarm when there are a danger of colliding (at certain distance) with a pedestrian.

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Write program to prompt for and accept current salary

Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases.

  Design a website to allow calculation of areas

Design a website to permit calculation of areas. A radio button list can be used to allow the user select what type of area to be calculated. Once the selection is done, the input text boxes should be displayed with the proper labels.

  Program to output circle-s radius-diameter-circumference

Write a program to prompt the user to enter center and a point on circle. Program must then output circle's radius, diameter, circumference, and area.

  Write program to simulate bank transaction

Write a program to simulate a bank transaction. There are two bank accounts: checking and savings. First, ask for the initial balances of the bank accounts.

  Write program that asks user for initial

Write a program that asks a user for his/her first initial. Then ask the user to type 1,2 3, 4. When the user types 4 the program ends. When the user types in 1, 2, or 3 , the program displays the message.

  Write functions

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

  Program to find real solutions

Method, which determines whether value of "b squared" - 4ac is negative. If negative, code then  prints out message "no real solutions" and returns from method.

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