Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The mean of two numbers, value 1 and value 2 , is given by mean _ of _ two = ( v a l u

The mean of two numbers, value 1 and value 2, is given by mean_of_two =(value1+value2)2.0. Read value 1 and value 2 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:
10.0
4.0
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

Students also viewed these Databases questions

Question

What is Aufbau's rule explain with example?

Answered: 1 week ago