Q asks to write
1. input statement that prompts the user for the type of cheese:
What kind of cheese you like?
Input TYPE OF CHEESE
2. Print statement that clearly displays the output message related to the type of cheese:
Print "Pizza has" TYPE OF CHEESE "type of cheese."
Big difference
Loops allow you to execute code multiple times while a condition is true
Functions allow you to “call” a snippet of code whenever you want, and you can pass it arguments that could affect the data it returns
Answer:
The program only runs 5 five since the for loop statement is limited to loop only five times.
Explanation:
In programming, a for-loop statement is used to repeat a collection of events a definite number of times. The number of loops is specified and compared with a variable to execute a block of code.
The for-loop statement in the code above declares and initializes a variable "i" to zero, runs the block of code, and increments by one if it is less than 5.
To make it run eight times, the value five should be changed to 8 instead.