Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Simple Math | Variables
Introduction to C++ | Mobile-Friendly
course content

Contenu du cours

Introduction to C++ | Mobile-Friendly

Introduction to C++ | Mobile-Friendly

1. Basics
2. Variables
3. Conditional Statements
4. Loops
5. Intro to Arrays

book
Simple Math

To perform arithmetic operations on variables and values C++ supports the following arithmetic operators:

Let’s try:

By division, any remainder was dropped since we assign the result to the int variable which doesn’t contain any decimals.

You can use all operations above to perform calculations on values, variables, or between variable and value:

question mark

The velocity of the car is 27 miles per hour. After 3 hours, how many miles will it drive? Choose the line which solves this excersice.

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 5

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

course content

Contenu du cours

Introduction to C++ | Mobile-Friendly

Introduction to C++ | Mobile-Friendly

1. Basics
2. Variables
3. Conditional Statements
4. Loops
5. Intro to Arrays

book
Simple Math

To perform arithmetic operations on variables and values C++ supports the following arithmetic operators:

Let’s try:

By division, any remainder was dropped since we assign the result to the int variable which doesn’t contain any decimals.

You can use all operations above to perform calculations on values, variables, or between variable and value:

question mark

The velocity of the car is 27 miles per hour. After 3 hours, how many miles will it drive? Choose the line which solves this excersice.

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 5
some-alt