im new at this too.. but did you forget to put your cast in the printf:
old code
printf("Enter an integer\n");
scanf("%d", &integer1);
new code
Type: Posts; User: <3pi
im new at this too.. but did you forget to put your cast in the printf:
old code
printf("Enter an integer\n");
scanf("%d", &integer1);
new code
im pretty sure i got the scanf's right, read my initialized numbers/strings...
%d is for an integer whole number
%f is a floating point number
%c single character
%s string of chars
%p a...
This is my first attempt at writing a menu. I can't get it to return after the if statement for yes, and I can't get it to do the else statement for no if you answer no the 2nd time around. The total...