[HELP] C Programming :)
Go to solution
Solved by CraveNirvana,
use scanf for taking in characters, printf for printing
If Windows tells you the program has had a problem and needs to close, you probably did something wrong in calling these.
Yea it happened like a couple of times now.
Pretty simple. Since it's just a basic program, you should only need scanf for input and printf for output. Both of these are in stdio, but since you are new to this, have a look at these pages, should sort any doubts you have about parameters and format specifiers:
printf
http://www.cplusplus.com/reference/cstdio/printf/
precision should tell you how to output the way you want it.
scanf
Neat-o thanks!
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now