Question: Your task is to complete the code. Three examples of the program output Input 1 . number: 1 2 Input 2 . number: - 7

Your task is to complete the code. Three examples of the program output
Input 1. number:12
Input 2. number:-7
The average of numbers 12 and -7 is 2.50
The sum of numbers 12 and -7 is 5
number is bigger than 2. number
Input 1. number:-5
Input 2. number:14
The average of numbers -5 and 14 is 4.50
The sum of numbers -5 and 14 is 9
number is bigger than 1. number
Input 1. number:12
Input 2. number:12
The average of numbers 12 and 12 is 12.00
The sum of numbers 12 and 12 is 24
number and 2. number are equal
Two integers is given as user input. The program will print the average of the numbers inside the function sum. The sum of
the numbers is printed inside the main function. The program prints which of the numbers is bigger than the other one.
You are given this part of the code:
Hint: Supplement the code so that it prints the required things. Function prototype has been given.
Example output:
The output of the program must be exactly the same as the example output (the most strict comparison
(evel)
Your task is to complete the code. Three examples

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!