User forums > Using Code::Blocks

Get wrong answer in code::Blocks


I've been started to learn C program with code::blocks
I downloaded this version (codeblocks-20.03mingw-setup) from the site

Now when I just write a simple code for sum two digit, I get wrong result,
for example : 3+5 get 16 for answer
I put the screen from the operation and run and result

Please someone help me
I don't know what to do :-\

Miguel Gimenez:
Read how scanf() works and some examples; if you are still stuck then look for a C programming forum and ask there.

Thank you :)

just move 2nd " before ,


[0] Message Index

Go to full version