Cah cilik belajar ngoding8
Menghitung Volume :
^_^ Selamat Belajar
#include <iostream>Outputan codingan diatas ;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
int a, b, volume;
cout<<"Masukkan angka \t:";cin>>a;
volume= a*a*a;
cout<<"hasil \t:"<<volume<<endl;
return 0;
}
^_^ Selamat Belajar

Komentar
Posting Komentar