Id: 568987; Nick: n/a; Timestamp: 2009-02-18 20:05:56; Pasted as: Java
Description: n/a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.Scanner;
public class Calc {
			public static Scanner reader=new Scanner (System.in);
 
				public static void main(String[] args)
	{
				int num1,num2,num3;
				char char1;
				System.out.println("Enter two numbers");
				num1=reader.nextInt();
				num2=reader.nextInt();
				System.out.println("Enter sing of calc");
				char1=reader.next().charAt(0);
				System.out.println(num1'char1'num2);
	}
}
Options: New, Download,
;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About) - Highlighted with GeSHi
Nothing to see here.