๋ฌธ์ ๋งํฌ : https://codeup.kr/problemsetsol.php?psid=23
*1071๋ฒ
#include <iostream>
using namespace std;
int main(){
int a;
while(true){
cin >> a;
if(a==0){break;}
cout << a<< endl;
}
}
*1072๋ฒ
#include <iostream>
using namespace std;
int main(){
int k,a;
cin >> k;
for(int i=0; i!=k;i++){
cin >> a;
cout << a << endl;
}
}
*1073๋ฒ
#include <iostream>
using namespace std;
int main(){
long long a;
while(true){
cin >> a;
if(a==0){break;}
cout << a<< endl;
}
}
*1074๋ฒ
#include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
while(a>0){
cout << a<<endl;
a -=1;
}
}
*1075๋ฒ
#include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
while(a>0){
a -=1;
cout << a<<endl;
}
}
*1076๋ฒ
#include <iostream>
using namespace std;
int main(){
char a;
cin >> a;
for(char i=97; i<=a;i++){
printf("%c ",i);
}
}
*1077๋ฒ
#include <iostream>
using namespace std;
int main(){
int a ;
cin >> a;
for(int i=0; i<=a;i++){
cout << i<<endl;
}
}
*ํ์ด์ฌ ํ์ด๋ code up ์นดํ
๊ณ ๋ฆฌ์ ์์ต๋๋ค.