#include <iostream>
using namespace std;
int main()
{
int a,b;
cin >> a,b;
if(a > 5 & b > 5)
{
cout << "hello!! \n";
}
else
{
cout<<"hello world!! \n";
}
return 0;
}
"hello!! \n" 的\n有跟 endl 幾乎一樣的功用
--------------------------------------------------------------------------------------------------------------------------
我目前只是個大學一年級的資工生,以上有何不對的地方歡迎指教!!
沒有留言:
張貼留言