Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program #3: Basic Input, Process, Output (15 pts) o Create a Python program named test1-3.py You do not need to use or create any user-defined

Program #3: Basic Input, Process, Output (15 pts) o Create a Python program named test1-3.py You do not need to use or create any user-defined functions in this program. Prompt the user two enter two numbers, all allowed to be float or integer numbers. Calculate and display the sum and average of these two numbers. Round both numeric outputs to one (1) digit to the right of the decimal place. Your input and output should look like the sample run below. . Sample Run #1 (based on user input of 5.5 and 11) first number: 5. Enter second number: 11 The sum of the two numbers is: 16.5 The average of the two numbers is: 8.2 Sample Run #1 (based on user input of 3.3 and 33) Enter first number: 3.3 Enter second number: 33 The sum of the two numbers is: 36.3 The average of the two numbers is: 18.1

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_2

Step: 3

blur-text-image_3

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

Combinatorial Testing In Cloud Computing

Authors: Wei-Tek Tsai ,Guanqiu Qi

1st Edition

9811044805, 978-9811044809

More Books

Students also viewed these Programming questions

Question

Distinguish between short-term and long-term goals.

Answered: 1 week ago

Question

40. Consider a M/G/1 system with E[S] Answered: 1 week ago

Answered: 1 week ago