User Profile
Collapse
Profile Sidebar
Collapse
armelle22
Last Activity: Oct 10 '12, 06:43 AM
Joined: Aug 12 '12
Location:
-
Such as... "Function call missing )" even thou ) is properly placed there.. "'res2 and res1 is assigned a value that is never used" even thou, as you can see, I used it... -
Help please: "Declaration not allowed here"
...Code:#includ<stdio.h> #include<conio.h> void main() { clrscr(); int one, five, ten, res1, res_1, res_2, res_3; float two_fve, res_4, res2; printf("\n\t\tMoney Denomination!"); printf("\n\nEnter number of coins per value"); printf("\n\nP10 coin"); scanf("%d",&ten); printf("\nP5 coin:"); -
Uhmn.. so, what statement should I add or remove to make that error disappear?Leave a comment:
-
Error "Syntax in function main"-thing
Seriously, me and my stupid logic can't get rid of that syntax thing... My friend once fixed it but it reappeared when I ran it at my PC
...Code:#include<stdio.h> #include<conio.h> #include<stdlib.h> #include<time.h> void main() { srand(time(NULL)); clrscr(); int you, comp; randomize();comp=rand()%3+1; printf("Jank'n Poy");
No activity results to display
Show More
Leave a comment: