Question
3.28 Implement a program that requests four numbers (integer or floating-point) from the user. Your program should compute the average of the first three numbers
3.28 Implement a program that requests four numbers (integer or floating-point) from the user. Your program should compute the average of the first three numbers and compare the average to the fourth number. If they are equal, your program should print 'Equal' on the screen. >>> Enter first number: 4.5 Enter second number: 3 Enter third number: 3 Enter last number: 3.5 Equal 3.29 Implement a program that requests the user to enter the x and y coordinates (each between 10 and 10) of a dart and computes whether the dart has hit the dartboard, a circle with center (0,0) and radius 8. If so, string It is in! should be printed on the screen. >>> Enter x: 2.5 Enter y: 4 It is in!
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