物品的存放(变量)
1 //物品存放(变量) 2 #include<iostream> 3 using namespace std; 4 int main(){ 5 int i=1; 6 short j=2; 7 long k=3; 8 float ii=1.1; 9 double jj=1.234; 10 long double kk=1.23456; 11 cout<<"i="<<i<<endl; 12 cout<<"j="<<j<<endl; 13 cout<<"k="<<k<<endl; 14 cout<<"ii="<<ii<<endl; 15 cout<<"kk="<<kk<<endl; 16 return 0; 17 }