JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*made by Akshay Panwar
input is required in this program in the following format.
____________________________________________
value of a
value of b
value of c ____________________________________________
all the user inputs must be integer type
*/
import java.util.Scanner ;
public class Program
{
public static void main(String[] args) {
Scanner myvar = new Scanner(System.in) ;
int a = myvar.nextInt() ;
int b = myvar.nextInt() ;
int c = myvar.nextInt() ;
System.out.println("The quadratic equation you have entered is: "+a+"x^2+"+b+"x+"+c+"=0");
System.out.println();
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run