+ 11
look at the result num of this code is there any thing releated between it and the previouse one? because when I delete one of
7 Respuestas
+ 5
you have found an essential concept in computer science: garbage
https://en.m.wikipedia.org/wiki/Garbage_(computer_science)
+ 23
Sololearn requires all inputs at once. So you have to enter both numbers at the beginning. The other number, I don't know. Someone with more C++ knowledge can answer that.
+ 16
I don't quite understand your question. Both inputs work for me. But the second one puts the number right after "NID" because you don't force a new line.
+ 8
Hello Samah Alghfari!
Nice to see you got it to work!
Only one thing, it's a good practice to initialize your variables at time of creation.. like this: int a=0;
That's why stranges numbers appeared.
+ 8
" In systems or programming languages with manual memory management, the programmer must explicitly arrange for memory to be deallocated when it is no longer used. C and C++ are two well-known languages which support this model. " the link is very useful thank you👌😀
+ 7
when I press run I only add number for once .. the second number I don't know from where is coming!!
+ 6
yes it works as you say .. I PUT 1 SPACE 2 and happend, thx🌹