Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
347 B
0
Indexable
Never
package catchandfinally;
import java.util.Scanner;
public class pgm2b {
public static void main(String[]args)
{
	int a,b;
	double c;
	Scanner in=new Scanner(System.in);
	System.out.println("Enter 1st number");
	a=in.nextInt();
	System.out.println("Enter 2nd number");
	b=in.nextInt();
	try
	{
		c=a/b;
		System.out.print
	}
}
}