for문-while문
라라
2023.04.01
-For구문을 While구문으로 바꾸는방법좀갈켜주세요-이 for문 프로그램을 While문으로 바꾸는 방법좀 갈켜주세요..#include stdiol.hvoid main(){int cnt, hap=0;for(cnt=1; cnt=100; cnt++){ hap += cnt;}printf(누적합 : %d,hap);printf(프로그램 종료 \n);}