Which of the following is the function header?
a. calculateBonus()
b. decimal calculateBonus()
c. return calculatedBonus;
Answers for C++ Course using "Starting out with C++ : from control structures through objects" by Tony Gaddis. 7/8th ed. I used the Pearson myprogramminglab to complete the homework. Here are my solutions/answers for the exercises/labs so please use the test bank as a GUIDE if you're stuck. Let me know if you find a better solution to a problem or any of the programming challenges. Thanks in advance for your support! Send in missing programming challenges to cplusplus.answers@gmail.com
Chapter 6 Quiz Starting Out With C++ 005
What function is automatically called when a program starts in C++?
a. the include function
b. the main function
c. the return function
d. the displayMessage function
a. the include function
b. the main function
c. the return function
d. the displayMessage function
Exericse Number
Chapter 06,
Quiz
Chapter 6 Quiz Starting Out With C++ 004
What is a void function?
a. a function that does not have a body
b. a function that does not return a value
c. a function that doesn't have any parameters
d. a function that doesn't have any arguments
a. a function that does not have a body
b. a function that does not return a value
c. a function that doesn't have any parameters
d. a function that doesn't have any arguments
Chapter 6 Quiz Starting Out With C++ 003
Which of the following are parts of the function definition?
a. return type
b. name
c. parameter list
d. argument list
e. body
a. return type
b. name
c. parameter list
d. argument list
e. body
Chapter 6 Quiz Starting Out With C++ 002
It is a good idea to break up problems into smaller problems that are easily solved?
a. true
b. false
a. true
b. false
Chapter 6 Quiz Starting Out With C++ 001
A program may be broken up into manageable _____
a. sections
b. blocks
c. subroutines
d. functions
a. sections
b. blocks
c. subroutines
d. functions
Exericse Number
Chapter 06,
Quiz
Subscribe to:
Posts (Atom)