Oh... sorry. Stupid question :x
Type: Posts; User: mgcpovoleri
Oh... sorry. Stupid question :x
Hm... I started to learn a few days ago... I'm getting better :)
But... explain me one thing. If the variable 'i' in a for loop is equal, for example, 10, and I put a continue keyword, it returns to...
why not? can you explain?
Exercise: Design a program that finds all numbers from 1 to 1000 whose prime factors, when added together, sum up to a prime number (for example, 12 has prime factors of 2, 2, and 3, which sum to 7,...
Let's ask again: I've a string with value "1", and I've a integer with value '2'. How I add 1 + 2 and get the number 3?
No .-.
Hm... it worked. And if i want to add 1 to this number?
Can anyone help me? I'm trying to do this:
cin >> integerNumber
Let's suppose the user entered '2012'. So, I want to output the third number in this int, in this case, the '1'. How I do that?...