Question: CHALLENGE ACTIVITY 2 . 4 . 2 : Numeric types: Floating - point. $ 2 1 9 2 6 , 3 9 2 5 4

CHALLENGE
ACTIVITY
2.4.2: Numeric types: Floating-point.
$21926,3925426,4320y7
Jump to level 1
The mean of two numbers, num1 and num2, is given by mean_of_two ))/(2.0(um2. Read num1 and num2 from input as floats, respectively. Then, compute mean_of_two using the formula. Finally, output 'Mean is ' followed by the value of mean_of_two to five digits after the decimal point.
Ex: If the input is:
8.0
16.0
then the output is:
Mean is 12.00000
1
num1= float(input ())
num2= float (input())
mean_of_two num 1+ num 2
 CHALLENGE ACTIVITY 2.4.2: Numeric types: Floating-point. $21926,3925426,4320y7 Jump to level 1

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 Databases Questions!