input
function takes user input, printing its argument to the console first. So, it prints 6, you type a number and hit enter. Then, it prints 7 and you type another number and press enter, and then it does the rest. If you let me know what isn't working, what you're not understanding, or what you're trying to do, I can try to help further.alrite mate, i'll try it. But just to inform you about how i got this variable stuff, it was from a book that teaches you how to code, turns out it was confusing and made my head merry go round. Much appreciated budHard to tell what you're trying to do. Theinput
function takes user input, printing its argument to the console first. So, it prints 6, you type a number and hit enter. Then, it prints 7 and you type another number and press enter, and then it does the rest. If you let me know what isn't working, what you're not understanding, or what you're trying to do, I can try to help further.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.