Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- int a = 0;
- int main(){
- for (int i = 1; i <= 15; i++) a+=i;
- cout << "ilosc cegiel to: " << a << ", a ich waga to: " << a*2 << " kg" << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment