Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <cmath>
- int main ()
- { double a,b,c,d;
- a = 2 + (7 * 16) - 8;
- b = (22 * 2) / 11;
- c = 8383 - 222 + (292 * 8);
- d= 5 * 2 * 4;
- double tab[4];
- tab[0] = a;
- tab[1] = b;
- tab[2] = c;
- tab[3] = d;
- std:: cout << tab[0] << "\n";
- std:: cout << tab[1] << "\n";
- std:: cout << tab[2] << "\n";
- std:: cout << tab[3] << "\n";
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement