Learning C++ for beginners: Variables and cin

Continuing on with our series. Here we’ll be talking about getting input from the user.

Notes from the video:

1) Review:
Homework (Print name, add 10 numbers)

cout, iostream, int main()

2) variables

3) cin

4) Homework
Read about argc (don’t worry about argv yet)
Have a user enter two numbers and add, multiply, subtract, divide, and modulus them.

This entry was posted in Computer Science and tagged , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.