#include<iostream>
#include<stdio.h>
using namespace std;
int main ()
{
char a;int b,c;
for(c=0;c<5;c++)
{
for(b=0;b<8;b++)
{
cout << "* " ;
}
cout << " " << endl;
}
}
#include<stdio.h>
using namespace std;
int main ()
{
char a;int b,c;
for(c=0;c<5;c++)
{
for(b=0;b<8;b++)
{
cout << "* " ;
}
cout << " " << endl;
}
}
2023-03-17
int main()
{float a;int b;cin >> a ;
if(a>=90){b=1;}
else if(90>a&a>=75)
{b=2;}
else if(75>a&a>=60){b=3;}
else {b=4;}
switch(b)
{case 1:cout << "優(yōu)" << endl;break;case 2:cout << "良" << endl;break;case 3:cout << "中" << endl;break;case 4:cout << "差" << endl;break; }return 0;}
{float a;int b;cin >> a ;
if(a>=90){b=1;}
else if(90>a&a>=75)
{b=2;}
else if(75>a&a>=60){b=3;}
else {b=4;}
switch(b)
{case 1:cout << "優(yōu)" << endl;break;case 2:cout << "良" << endl;break;case 3:cout << "中" << endl;break;case 4:cout << "差" << endl;break; }return 0;}
2023-03-17
#include <stdio.h>
int main()
{
printf("Hello 你好! \n");
return 0;
}
這樣好像也可以
int main()
{
printf("Hello 你好! \n");
return 0;
}
這樣好像也可以
2023-03-13
#include<iostream> inr main(){ cout<<“hello world”<<endl; return 0; }
2023-02-23