Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- int main(int argc, char ** argv) {
- int tt = 0;
- for(int i = 1; i <= 2; i++) {
- int t = 1;
- for(int j = 1; j <= 2; j++) {
- t *= (i + j);
- }
- tt += t;
- }
- std::cout << tt;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement