The programming language is C++, write a program for each items base on the given statement. 1. Due to poor result of an examination, your professor decided to increase each student by 1 point. Input the grade and print the new grade. If the original grade exceeds 100, then it remains as such. 4. A college student who is registered for 21 units or more is considered as full time student. The tuition fee for full time is 7000. A part time student is charged 300 per unit for tuition. Given the number of units a student is registering, calculate and print his tuition fee on the basis of the given criteria.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
The
1. Due to poor result of an examination, your professor decided to
increase each student by 1 point. Input the grade and print the new
grade. If the original grade exceeds 100, then it remains as such.
4. A college student who is registered for 21 units or more is considered
as full time student. The tuition fee for full time is 7000. A part time
student is charged 300 per unit for tuition. Given the number of units
a student is registering, calculate and print his tuition fee on the basis
of the given criteria.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images