how can i save a value if i don't want to do as follows:
printf("Enter the hours parked: ");
scanf("%f",&a);
because i don't want the output to have the sentence "Enter the hours parked:"
the output required is as below(must be exactly the same):
cars hours charges
1 1.5 2.00
2 4.00 2.50
3 24 10.00
TOTAL 29.5 14.50
the charges value are determined by the hours...
and the user are only required to enter the hours...
please kindly assist...
thank you..



LinkBack URL
About LinkBacks



