返回列表 發帖

自我介紹

撰寫一支程式來介紹自己,並在畫面上顯示姓名、生日或年齡、星座。

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"我是呂江裕,1972年出生,天秤座。"<<endl;
  7.     system("pause");
  8.     return 0;   
  9. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"李宇宸 巨蠍座 10歲"<<endl;
  7.     system("pause");
  8.     return 0;
  9. }
複製代碼

TOP

  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"謝雨岑 10歲 天蠍座"<<endl;
  7.     system("pause");
  8.     return 0;   
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main( )
  5. {
  6.     cout<<"hello我是李大全"<<endl;
  7.     cout<<"我91年生"<<endl;
  8.     system("pause");
  9.     return 0;
  10. }
複製代碼

TOP

  1.   #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.           cout<<"王君玄 雙魚座 14歲"<<endl;
  7.           system ("pause");
  8.           return 0;
  9. }
複製代碼

TOP

本帖最後由 謝瀞儀 於 2014-7-2 09:45 編輯
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"我是謝?儀,今年負100歲,還沒出生所以沒有星座。"<<endl;
  7.     system("pause");
  8.     return 0;
  9. }
複製代碼

TOP

本帖最後由 蔡岳庭 於 2014-7-2 09:32 編輯
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.   cout<<"蔡岳庭"<<endl;
  7.   cout<<"水瓶座"<<endl;
  8.   cout<<"11"<<endl;
  9.   system("pause");
  10.   return 0;  
  11. }
複製代碼

TOP

  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.           cout<<"大家好~我叫李美螢~今年14歲~生日是6/20~我是雙子座的喔~"<< endl;
  7.           system("pause");
  8.           return 0;
  9. }
複製代碼

TOP

本帖最後由 游東祥 於 2014-7-2 09:49 編輯
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.           cout<<"胡宸綱"<<endl;
  7.           cout<<"雙子座"<<endl;
  8.           cout<<"11歲"<<endl;
  9.           system("pause");
  10.           return 0;
  11. }
複製代碼

TOP

本帖最後由 尤柏豫 於 2014-7-2 09:35 編輯
  1. #include<iostream>
  2. #include<cstblib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"I am One thousand years old"<<endl;
  7.     system("pause");
  8.     return 0;   
  9. }
複製代碼

TOP

  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<< "威臣" <<  "12歲"<< "ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt" << "hfhkfahdkasfhaskdhfakhfdkajdhfudfjbdfudfhadbfjdfudghfdfdbffhbdfkdhfkfhaldfuebnemnbfdfjhbfdfhbfeukhiwubrqjewrnwrbjewgreurjbewnfeudfjdnfbwqeuirbqerf,qekrfhqerfnqbwekjfamsd,fbhuekfbnmsdbfawuejfbsf,msadnhrawejfbedbfarhaekjfdmaz,dks;lafa;skdjfdkfjfalksjfdlk;jjkaldfjklfdsasajdfaslkjfkldjfalsjdflkasjfasdfkjlasfjasld;fkjsaldjfaldkjfaiefkaenfaoiejfaemkfdsfanh;vdfhvebrtweuiryhejwfcenhdklwyrbcfeuriqyerilqewbclrjhf" << "金牛座" <<endl;
  7.       cout<< "威臣" <<  "12歲"<< "ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt" << "hfhkfahdkasfhaskdhfakhfdkajdhfudfjbdfudfhadbfjdfudghfdfdbffhbdfkdhfkfhaldfuebnemnbfdfjhbfdfhbfeukhiwubrqjewrnwrbjewgreurjbewnfeudfjdnfbwqeuirbqerf,qekrfhqerfnqbwekjfamsd,fbhuekfbnmsdbfawuejfbsf,msadnhrawejfbedbfarhaekjfdmaz,dks;lafa;skdjfdkfjfalksjfdlk;jjkaldfjklfdsasajdfaslkjfkldjfalsjdflkasjfasdfkjlasfjasld;fkjsaldjfaldkjfaiefkaenfaoiejfaemkfdsfanh;vdfhvebrtweuiryhejwfcenhdklwyrbcfeuriqyerilqewbclrjhf" << "金牛座" <<endl;
  8.     system("pause");
  9.     return 0;
  10.     system("pause");
  11.     return 0;
  12. }
複製代碼

TOP

  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.       cout<< "我的名字是林侑成"<<endl;
  7.       cout<< "今年一兆歲"<<endl;
  8.       system("pause");
  9.       return 0;
  10. }
複製代碼

TOP

#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
          cout<<"胡宸綱"<<endl;
          cout<<"雙子座"<<endl;
          cout<<"11歲"<<endl;
          system("pause");
          return 0;
}

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"我叫做張宸碩"<< endl;
  7.     cout<<"今年11歲"<< endl;
  8.     cout<<"巨蟹座"<< endl;
  9.     cout<<"生日是92.7.19"<< endl;
  10.     system("pause");
  11.     return 0;
複製代碼

TOP

  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"傑哥tt 10歲tt 天蠍座tt"<<endl;
  7.     system("pause");
  8.     return 0;   
  9. }
複製代碼

TOP

本帖最後由 游東祥 於 2014-7-2 09:51 編輯
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"洪振庭 12歲 Hune-Chen-Tean(龍華國小 5-12)摩羯座"<<endl;
  7.     cout<<"我自己閉嘴~~"<<endl;
  8.     system("pause");
  9.     return 0;
  10. }
複製代碼

TOP

本帖最後由 游東祥 於 2014-7-2 09:52 編輯
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"我叫呂嘉勳  我現在12歲"<<endl;
  7.     system("pause");      
  8.     return 0;
  9. }   
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"我叫呂嘉勳  我現在12歲"<<endl;
  7.     system("pause");      
  8.     return 0;
  9. }   
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstblib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"I am 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111years old"<<endl;
  7.     system("pause");
  8.     return 0;   
  9. }        
複製代碼

TOP

返回列表