Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- // input output stream
- using namespace std;
- int main()
- {
- // int = integer: -infinity, -10, -5, -2, 0, 1, 2 ,3 ... infinity
- // float - decimal number
- // double - decimal number
- // string - word
- // char - character od azbukata
- int broj = 10;
- float f = 0.05;
- double d = 9.18;
- string s = "zdravo";
- char c = 'c';
- //cout: command output: print something on screen
- //cout << name_of_variable << endl;
- // endl : end of line
- cout << broj << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment