Computers and Technology, 13.06.2020 04:57 rodneisha1313
Define stubs for the functions get_user_num() and compute_avg(). Each stub should print "FIXME: Finish function_name()" followed by a newline, and should return -1. Each stub must also contain the function's parameters.
Sample output with two calls to get_user_num() and one call to compute_avg():
FIXME: Finish get_user_num()
FIXME: Finish get_user_num()
FIXME: Finish compute_avg()
Avg: -1
code to fill in:
''' Your solution goes here '''
user_num1 = 0
user_num2 = 0
avg_result = 0
user_num1 = get_user_num()
user_num2 = get_user_num()
avg_result = compute_avg(user_num1, user_num2)
print('Avg:', avg_result)
Answers: 1
Computers and Technology, 21.06.2019 22:00, rosetoheart2
What do the principles of notice, choice, onward transfer, and access closely apply to? a. privacyb. identificationc. retentiond. classification
Answers: 1
Computers and Technology, 22.06.2019 01:00, tyneshiajones124
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
Computers and Technology, 22.06.2019 05:00, 420420blazee
Are special characters that allow you to search for multiple words at the same time.
Answers: 2
Computers and Technology, 22.06.2019 14:00, GGerardi7552
What are procedures that keep a data base current
Answers: 1
Define stubs for the functions get_user_num() and compute_avg(). Each stub should print "FIXME: Fini...
Mathematics, 16.02.2021 20:10
Spanish, 16.02.2021 20:10
Chemistry, 16.02.2021 20:10
Mathematics, 16.02.2021 20:10
Mathematics, 16.02.2021 20:10