Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- = zyBooks My library > CIS 1 1 6 : Introduction to Computer Programming home > 2 . 4 : Floating - point CHALLENGE
zyBooks My library CIS : Introduction to Computer Programming home : Floatingpoint
CHALLENGE
ACTIVITY
: Numeric types: Floatingpoint
cxiray?
Jump to level
The mean of two numbers, num and num is given by meanoftwo Read num and num from input as floats, respectively. Then, compute meanoftwo using the formula. Finally, output 'Mean is followed by the value of meanoftwo to five digits after the decimal point.
Ex If the input is:
then the output is:
Mean is
num float input
num float input
meanoftwo num num
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started