일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- ros2 foxy docker
- nav2 development guides
- humble development guides
- Nav2 document
- nav2 설치
- humble docker
- ros2 튜토리얼
- humble nav2
- humble getting started
- ros2 development guides
- 코드업
- CodeUp
- docker foxy
- nav2 development guides
- nav2 튜토리얼
- nav2 getting started
- ROS FOXY 튜토리얼
- development guides
- Foxy tutorial
- foxy nav2
- nav2 dev contatiner
- humble 도커
- ros2 remapping
- ros2 getting started
- Python
- ubuntu ros2 설치
- ros2 foxy tutorial
- error
- ubuntu humble 설치
- CODEUP 6073
Archives
- Today
- Total
BAN2ARU
CODEUP 1079번 본문
https://codeup.kr/problem.php?id=1079
#include <stdio.h>
int main()
{
char input;
scanf("%c ", &input);
while(input != 'q')
{
printf("%c\n", input);
scanf("%c ", &input);
} //input이 'q'가 아니면 input을 출력하고 다음 문자 스캔
printf("q"); //input이 'q'이면 while문이 종료되므로 마지막으로 'q'출력
return 0;
}
728x90
'Coding Test > CodeUp' 카테고리의 다른 글
CODEUP 6072번 (0) | 2022.03.09 |
---|---|
Codeup 6099번 (0) | 2021.11.11 |
CODEUP 6033번 (0) | 2021.11.10 |
CODEUP 1099번 (0) | 2021.11.08 |
CODEUP 1076번 (0) | 2021.11.05 |
Comments