Question: Question 2 Failing to use parentheses in function calls void of parameters can result in compile or invalid program operations. Variable scope identifies any determines
Question 2 Failing to use parentheses in function calls void of parameters can result in compile or invalid program operations. Variable scope identifies any determines the life span of any variable in any programming language. When a variable loses it loses its data value. Local variable are defined in functions, such as main(), and lose their scope each time the functions is executed. Locally scoped variables can be reused in other functions without harming one anothers contents. Global variables are created and defined outside any function, including the main() function. Write a function prototype for the following components:A function that divides two numbers and returns the remainder A function that finds the larger of two numbers and returns the result A function that prints an ATM menu t receives no parameters and returns no value Build the function definitions for each preceding function prototype. Add your own trivia categories to the Trivia game. Modify the Trivia game to track the number of times a user gets an answer correct and When the user quits the program, display the number of correct and incorrect answers. Consider using global variables to track the number of questions answered, the number answered correctly, and the number answered incorrectly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
