okay i need to make a insert that will allow me to put any thing under 50 in the line with the vans
CODE
#include <stdio.h>
main()
{
int a,b,c;
printf("total number of people ");
scanf("%d",&a);
b=a/50;
printf("total charter buses %d\n",b);
printf ("total vans %d\n",c);
system ("pause");
return 0;
}
the b is right i just need some thing to move the left over to the van say if i had 140 people then [printf("total charter buses %d\n",b.); ]should pop up 2 and it dose but it cuts out the 40 i need away to move the 40 left over to [printf ("total vans %d\n",c);]
can you think of any thing?c=?
QUOTE(Louisda16th @ 12 Oct, 2007 - 08:20 AM)

Just curious. Why do you put polls in all your topics?!
becase i like doing thim and it fun to see how people respond
This post has been edited by chiakko7: 12 Oct, 2007 - 07:30 AM