The loop continues
as long as the while condition is fulfilled (note:
while x is true), not until.
kincaid42 wrote: |
---|
**side question** Is it even possible for a 10th grader (going to 11th after summer) to learn c++? Or should I wait after high school and take this in college? |
If that reassures you: I started programming in 4th grade and started with C++ in 5th grade and I had no problems.
I would say that learning is
easier when you're young, not harder.
By the way, learning programming had a positive (and in retrospect very important) side-effect for me:
before that, I wasn't really any good at maths, but after starting programming, solving problems methodically and logical thinking became easy to me, so my math grades quickly went to the top.
This ended with me studying maths at the university today.
I don't know how good you're at maths, but learning programming sure will help you with maths (and vice versa).