Grading System - Calculate Miles per gallon - Looping Numbers From Start to Finish - C Assignment Help

Download Solution Order New Solution
Assignment Task
Grading System - Calculate Miles per gallon - Looping Numbers From Start to Finish - C++ Assignment Help

Question 1 - Grading System Write a program that allows the user to enter the mark scored within a range of 0 - 50. Given a positive value, do the following:
? If the given score is between 0 and 50 (0 score 50), then calculate the ≤ ≤ percentage (e.g., 100% for 50, 75% for 37.5, etc...). a percentage is a number or ratio that represents a fraction of 100.
? Calculate the grade from the percentage received. The grade will be: F, if the percentage is 0 - 59.99. D, if the percentage is 60 - 69.99. C, if the percentage is 70 - 79.99. B, if the percentage is 80 - 89.99. A, if the percentage is 90 - 100.
? If the given score is greater than 50, print “Score is greater than 50.”.

Question 2 - Calculate Miles per gallon Write a program that allows the user to enter the number of litres of petrol consumed and the number of miles traveled by the car. Given a positive value for both litres of petrol and miles travelled, calculate the number of miles per gallon the car delivered. One litre of petrol is 0.264179 gallons.

Question 3 - Looping through all numbers from start to finish Write a program that prompts the user to input 2 float values, a starting value and an end value. Loop through all the values from start to end, which should include the start and end values. For each value:
? If it is between 1 and 5 (1 value 5), the print the english representation ≤ ≤ in lowercase. That is “one” for 1, “two” for 2, and so on.
? Else if it is greater than 5 (value > 5) and it is an even number, then print “even”.
? Else if it is greater than 5 (value > 5) and it is an odd number, then print “odd”.

Question 4 - Order number Write a program that prompts the user to input 3 integer values and print these values in ascending and descending order.

This C++ Assignment has been solved by our Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.