At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

18.41 Clone of LAB: Variables/Assignments: Simple statistics
Part 1
Given 3 integers, output their average and their product, using integer arithmetic.

Ex: If the input is:

10 20 5
the output is:

11 1000
Submit the above for grading. Your program will fail the test cases (which is expected), until you complete part 2 below but check that you are getting the correct average and product using integer division.

Part 2
Using the same 3 integers, output the average and product, using floating-point arithmetic.

Output all floating-point numbers with five digits after the decimal point, which can be achieved as follows:
Put x to output with 5 decimal places

Ex: If the input is:

10 20 5
the first line of output uses integer arithmetic and the second line output uses floating-point arithmetic:

11 1000
11.66667 1000.00000

Sagot :

Answer:

wait me for 7 minutes

Explanation:

Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Westonci.ca is committed to providing accurate answers. Come back soon for more trustworthy information.