Variables
Introduction to variables and basic data types.
StartKey Concepts
Review core concepts you need to learn to master this subject
User Input
Variables
Arithmetic Operators
int
Type
double
Type
Chaining the Output
char
Type
string
Type
User Input
User Input
int tip = 0;
std::cout << "Enter amount: ";
std::cin >> tip;
std::cin
, which stands for “character input”, reads user input from the keyboard.
Here, the user can enter a number, press enter, and that number will get stored in tip
.
What you'll create
Portfolio projects that showcase your new skills
Dog Years
Dogs have ages that don't quite work like ours. This can be a little ruff when you want to know how old your dog would be if he/she is a human. Don't fret — build a dog-age-converting program to translate your dog's age into human years!
Quadratic Formula
Write a C++ program that solves the quadratic equation.
Piggy Bank
You just returned from a trip to South America and you came back with three different kinds of currencies. Let's convert them to USD!
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory