Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- int main()
- {
- using std::cout;
- using std::endl;
- int value = 24;
- cout << "There are " << value << " hours a day" << endl;
- value = 24;
- cout << "There are " << (value -= 20) << " seasons" << endl;
- value = 24;
- cout << "There are " << (value *= 60) << " minutes a day" << endl;
- value = 24;
- cout << "There are " << (value /= 2) << " months a year" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment