Table 1: Test cases to run and test the program (user inputs are shown in red-bold text) TEST CASE 1 Welcome to XYZ house price calculator Please enter house type (A/B/C): D Please enter house type (A/B/C): a Please enter house type (A/B/C): A Square-feet area of the house (840-1920) : 900 Price of a type A house (900 square-feet) is RM 357750 TEST CASE 2 Welcome to XYZ house price calculator Please enter house type (A/B/C): B Square-feet area of the house (840-1920): 839 Square-feet area of the house (840-1920): 1921 Square-feet area of the house (840-1920): 900 Price of a type B house (900 square-feet) is RM 268965
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:
Write a C++
flowcharts. Table 1 is the test cases that you can use to test the program and the details of the
input/output style of the program
Step by step
Solved in 2 steps with 1 images