Determine the letter grade associated with the average

Assignment Help C/C++ Programming
Reference no: EM13700033

Question: In mathematics the notation n! shows the factorial of the nonnegative integer n. The factorial of a number is the product of all the nonnegative integers from 1 up through the number provided.

For case:

4! = 4 x 3 x 2 x 1 = 24

7! = 7 x 6 x 5 x 4 x 3 x 2 x 1 = 5,040

Create a loop structure to display and calculate the factorial of the larger number provided by the user.

What if these were test scores? Calculate the average of the two numbers provided.

Determine the letter grade associated with the average (A = 90-100, B = 80-89, etc).

Display a message to the user informing them of the letter grade they would have earned if the values provided were test scores. Provide the code of factorial function.

Reference no: EM13700033

Questions Cloud

Implementation of matrix multiplication : Show the matrix product and implementation of matrix multiplication. Please show me all the working and provide the answer.
Designing an electronically musical instrument : Determined the cause of the problem is that the system becomes overwhelmed in processing the complicated input.
Show the importance of integrating business and technology : You are the CIO of a large consultancy and have been asked to show the importance of integrating business and technology to the IT group.
Concept of business architecture : You are the CIO of a large international beverage distributor and have been asked to present the concept of business architecture to all division heads in preparation for upcoming implementation.
Determine the letter grade associated with the average : Create a loop structure to display and calculate the factorial of the larger number provided by the user - What if these were test scores? Calculate the average of the two numbers provided.
Create a loop structure to display all integer values : Determine if the first number is larger than, smaller than, or equal to the second number.
How to prepare this in php code : Determine if the values provided are numeric and in range (between 1 and 100). If either value is not a number or is out of range, display an appropriate message informing the user and do not process the values further.
What is the speed : A plane accelerates from rest at a constant rate of 5.00m/s2 along a runway that is 1800m long. What is the speed
Describe at least two suitable wan technologies : Describe at LEAST two suitable WAN technologies for each of the two connectivity situations: office to office and home to home.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Computing value of the return statement

In the following code snippet, what is the value of the return statement for x = 4 and n = 4? int foo(int x, int n)

  Program reads a number and prints all of its binary digit

Write a program that reads a number and prints all of its binary digits. Print the remainder number % 2, thenreplace the number with number / 2. Keep going until the number is 0.

  It should be clear, based on your comments

Add comments to the code. It should be clear, based on your comments, what each line (or set of lines) does in the program.

  Define the cheetah constructor to accept and initialize

Design and implement a class called Cheetah that contains instance data that represents the cheetah's name, age, weight, length and gender.

  Assume that section

Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;

  Write a programme on credit card number check

Credit Card Number Check. The last digit of a credit card number is the check digit, which protects againsttranscription errors such as an error in a single digit or switching two digits

  Find the smallest positive integer

Find the smallest positive integer whose digits add up to 23. The second smallest positive integer whose digits add up to 23 is 689.

  Write a c program to search a list of integers

Write a C program to search a list of integers for a particular value. The user should be prompted to enter the value to be searched for. Your program will then print out whether the value was found or not.

  Definitions of the class circularlinkedlist

Write the definitions of the class circularLinkedList and its member functions. (You may assume that the elements of the circular linked list are in ascending order.)

  State a c program that opens the file

Write a C program that opens the file and firstly stores all the values in an appropriately declared two-dimensional array of integers. It then should analyse this array to find (from the 40 input values) the total number of coursework marks in the..

  Write a program that computes the cost of long distance call

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules.

  Write the codeassignment 1object-oriented designwrite a

write the codeassignment 1object-oriented designwrite a program that allows an instructor to keep a grade book. each

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