Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lilyV1365 on June 16, 2021, 05:11:31 PM

Title: Get wrong answer in code::Blocks
Post by: lilyV1365 on June 16, 2021, 05:11:31 PM
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 :-\
Title: Re: Get wrong answer in code::Blocks
Post by: Miguel Gimenez on June 16, 2021, 05:42:43 PM
Read how scanf() works and some examples; if you are still stuck then look for a C programming forum and ask there.
Title: Re: Get wrong answer in code::Blocks
Post by: lilyV1365 on June 16, 2021, 07:01:41 PM
Thank you :)