code prints integers 1-10, rather than 1-11?
                  
                  
                  
                  
                  
                  https://hastebin.com/wagusocane.cpp
                  
                  
                  
                  
                  
                  Thank you.
                  
                  
                
Because loop is from 1 to 10, as soon as my_int becomes 11 it gets of for loop and is not written to stdout
Обсуждают сегодня