Question: Q 1) Write a program that prompts the user to input a number. The program should then output the number and a message saying whether
Q 1) Write a program that prompts the user to input a number. The program should then output the number and a message saying whether the number is positive, negative, or zero. Q 7) The roots of the quadratic equation axz+ bxc0,a !-0 are given by the following formula 2a In this formula, the term b2-4ac is called the discriminant. If b2-4ac 0, then the equation has a single (repeated) root. If b2-4ac> 0, the equation has two real roots. If b2_4ac
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
