Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int m;
- float c,E;
- c = 89.88;
- cout << "Masukkan Nilai Massa (Kg) : ";
- cin >> m;
- E = m * c * c;
- cout << "E = " << E << " J\n";
- return 0;
- }
Add Comment
Please, Sign In to add comment