This commit is contained in:
2026-03-10 16:27:53 +01:00
parent be6ca147f2
commit fd9be86bde
11 changed files with 132 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#include <iostream>
int main() {
std::cout << 5 / 2 << '\n'; // 2
std::cout << 5 / 2.0 << '\n'; // 2.5
int x = 7;
double y = 2;
std::cout << x / y << '\n'; // 3
}