Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

plz help!!!MY CODE IS WRONG IDONT KNOW HOW!!

$
0
0

Bytelandian gold coins

include<stdio.h>

include<conio.h>

int main() { int i,j,k,l,n[10],a,t; scanf("%d\n",&t); for(a=0;a<t;a++) { scanf("%d",&i); if(i<12) { printf("\n%d",i); } else { j=i/4; k=i/3; l=i/2; n[a]=j+k+l; printf("\n%d",n[a]); } } getch(); return 0; }


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>