Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int prvo_nivo;
- cin >> prvo_nivo;
- int vtoro_nivo = prvo_nivo * 2;
- int treto_nivo = vtoro_nivo * 2;
- int cetvrto_nivo = treto_nivo * 2;
- cout << prvo_nivo + vtoro_nivo + treto_nivo + cetvrto_nivo << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement