Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a = 5;
- a = a + 2; // 7
- a += 2; // 7
- b = 121 % 10; // % - restul impartirii lui x la y
- // pt orice nr x, (x % 10) - ia ultima cifra
- b = 121 / 10; // = 12 (impartire fara rest)
- b = 10 * 10; // inmultire
- //if()
- //else()
- //while()
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement