用java语言将二进制转化成十进制的代码
用java语言将二进制转化成十进制的代码
日期:2014-06-23 08:45:10 人气:1
import java.util.Scanner; public class S_T { public static void main(String[] args) { int x=0,y=0; Scanner scanner = new Scanner(System.in); try { x = scanner.nextInt(); }catch(java.util.InputMismatchException ime) { //if the next token does not m