摘要:
int a = 357;//十进制转成二进制System.out.println(Integer.toBinaryString(a)); package com.swift; import java.util.Scanner; public class Decimal2Binary { public static void main(String[] args) { ... 阅读全文
posted @ 2017-09-25 21:07
Advancing-Swift
阅读(813)
评论(0)
推荐(0)
摘要:
#include using namespace std; void main() { int a; cin>>a; cout(a)<<endl; } 阅读全文
posted @ 2017-09-25 20:56
Advancing-Swift
阅读(1449)
评论(0)
推荐(0)
摘要:
第一题:输出结果是什么? System.out.println("5+5="+5+5); 第二题:输出结果是什么? int a=3,b; b=a++; sop("a="+a+",b="+b);//自增 a++ 实际上就是a=a+1 a++与++a的区别是什么?a++是先使用后自增 ++a是先自增后使 阅读全文
posted @ 2017-09-25 14:55
Advancing-Swift
阅读(497)
评论(0)
推荐(0)