Flowchart
Koding C++>>>>
#include
<iostream>
#include
<string>
using namespace
std;
int main()
{
string raptor_prompt_variable_zzyz;
int r;
float keliling;
float luas;
cout << "Mencari Luas Keliling
Lingkaran" << endl;
raptor_prompt_variable_zzyz ="Masukkan jari-jari=";
cout << raptor_prompt_variable_zzyz
<< endl;
cin >> r;
keliling =2*3,14*r;
luas =3,14*r*r;
cout << "Keliling="<<
keliling << endl; cout << "Luas="<< luas
<< endl;
system("pause");
return 0;
}
Tidak ada komentar:
Posting Komentar