Hi i am re-studying C.So I just wanted to do a simple calculator program.I am using dev-c++ anyways the code is below please help.
It's easier to provide answers when you provide questions.
You may want to take a look at a way to
Read a Line of Text from the User and a way to
Read a Number from the User.
scanf has a lot of issues that trip up beginners.
scanf("%d",&b);
printf("What do you want to do with them?");
scanf("%c",o);
Like the newline being left in the buffer. Or that a pointer must be passed.
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004