Tag: Increment
-
Coding Challenge 6
For our 6th coding challenge, we are going to be working with a while statement and a postfix increment operator. With these components, we are going to make a brute force age guessing program. First off, we will need two int variables one we will name guessAge and we will set it to 0. We […]
-
Lesson 21: Increment and Decrement Operators
In the last lesson we learned about relational operators and how they can be applied in if statements. In this lesson, we are going to go over increment and decrement operators and how they can be used in our code. First, let’s go over the increment operator. The increment operator is basically nothing more than […]