-
정올 538 : 반복제어문1-자가진단3c/기초 2019. 1. 10. 19:06
My Solution
12345678910111213141516171819#include<stdio.h>int main(void){int num=0;while(1){printf("number? : ");scanf("%d",&num);if(num>0){printf("positive integer\n");}else if(num<0){printf("negative number\n");}else{break;}}return 0;}cs 반응형'c > 기초' 카테고리의 다른 글
정올 540 : 반복제어문1-자가진단5 (0) 2019.01.10 정올 539 : 반복제어문1-자가진단4 (0) 2019.01.10 정올 537 : 반복제어문1-자가진단2 (0) 2019.01.10 정올 536 : 반복제어문1-자가진단1 (0) 2019.01.10 124 : 선택제어문-형성평가5 (0) 2019.01.09