# include < stdio . h > int main ( void ) { int i , sum = 0 , a ; printf ( " 구구단 입력 : "); scanf ( "% d ",& a ) ; for ( i = 1 ; i <= a ; i ++){ sum += i ; printf ( "% d * % d = % d \ n ", a , i , sum ) ;} return 0 ;}