User forums > Using Code::Blocks

Get wrong answer in code::Blocks

(1/1)

lilyV1365:
Hi
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.

lilyV1365:
Thank you :)

ur_naz:
just move 2nd " before ,

Navigation

[0] Message Index

Go to full version