SOLUTION OF URI 1070 URI SOLUTIONS No comments // 1070 (Mahmud_Jamil) BRUR // Six Odd Numbers #include<stdio.h>int main(){ int i,n; scanf("%d",&n); if(n%2==0) n=n+1; else n=n; printf("%d\n",n); for(i=1;i<=5;i++) printf("%d\n",n+=2); return 0;} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment