I am almost embarassed to be asking about something seemingly so simple, but I havent touched C in a while. What am I doing wrong here? I want the user to enter a number, and the result is that number /28 but I can't quite get it right.
Thanks
Code:#include <stdio.h> int main(void) { int number =0; float result; result = number/28; printf("How many boxes are in the shipment?\n\n"); scanf("%f",&number); printf("You need %.2f flats\n\n",result); return 0; }