printf("\nInput first value and press ENTER : ");
scanf("%f", &num1);
char op;
printf("\nInput operation to perform.\nValid inputs are (+,-,*,/,**) Operation symbol =");
scanf("%c",&op);
float num2;
printf("\n\nInput second value and press ENTER: ");
The above is the snippet of code where the issue arises...
When Executed, it waits to collect num1, then it asks me what operation i want to perform but without an input from me, skips to ' Input second value and press ENTER: '... I'm new to C (started a week back) so help me out !