Write a program that depending on the users choice inputs


1. Write a program that gets the coefficients a, b and c of a quadratic equation: ax 2 + bx + c, calculates and prints its real roots (if they exist). Quadratic equations may have 0, 1 or 2 real roots.

2. Write a program that finds the greatest of given 5 numbers.

3. Write a program that, depending on the user's choice, inputs int, double or string variable. If the variable is int or double, the program increases it by 1. If the variable is a string, the program appends "*" at the end. Print the result at the console. Use switch statement.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that depending on the users choice inputs
Reference No:- TGS02140783

Expected delivery within 24 Hours