camel-man, I love you! That was the issue. Can't believe it was something so stupid. Thanks a ton guys. Problem solved!
Type: Posts; User: MNM1245
camel-man, I love you! That was the issue. Can't believe it was something so stupid. Thanks a ton guys. Problem solved!
This unfortunately was not the solution. Would have been nice if it had been so easy.
In the class I'm taking we have always used scanf for user input. It has always worked. Is there something with characters that makes it not work?
#include <stdio.h>
void calc_duty(int, float, float, float *, float *);
void print_duty(int, int, int, float, float, float, float);
int main (void)
{
int origin, category, quantity;
...