Use the pseudocode description below to write a portion of a program that uses an if, else if, else decision structure that will determine if someone lives in Boston. 1. display message that describes what program will do. 2. ask the user to input an answer to the question: Do you live in Boston?. 3. if they entered 'y', display a message confirming that they live in Boston. 4. if they entered 'n' , display a message confirming that they don't live in Boston. 5. if they entered an invalid entry, display a message telling them.
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:
Use the pseudocode description below to write a portion of a program that uses an if, else if, else decision structure that will determine if someone lives in Boston.
1. display message that describes what program will do.
2. ask the user to input an answer to the question: Do you live in Boston?.
3. if they entered 'y', display a message confirming that they live in Boston.
4. if they entered 'n' , display a message confirming that they don't live in Boston.
5. if they entered an invalid entry, display a message telling them.
Step by step
Solved in 4 steps with 4 images