C++ Sekuen Volume Kubus

#include <iostream>
#include <string>

using namespace std;
int main()
string raptor_prompt_variable_zzyz;
int r;
int Luas_Permukaan_Kubus;
int Volume_Kubus;

cout<<” Menghitung Volume Kubus”;
raptor_prompt_variable_zzyz =”Masukkan r :”;
cout << raptor_prompt_variable_zzyz << endl;
cin >> r;
Volume_Kubus =r*r*r;
Luas_Permukaan_Kubus =6*r*r*r;
cout << Volume_Kubus << endl; cout << Luas_Permukaan_Kubus << endl;

return 0;

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s