Scrib Luas dan keliling Lingkaran di Turbo C++

Scrib Turbo C++  “Luas dan Keliling Lingkaran”

#include<iostream.h>
#include<string.h>

void main()
{
const float phi=3.14;
float jari_jari,luas,keliling;

cout<<“masukkkan nilai jari2=“;
cin>>jari_jari;

luas=phi*jari_jari*jari_jari;
keliling=2*phi*jari_jari;

cout<<“Luas lingkaran     =“<<luas<<endl;
cout<<“Keliling Lingkaran =“<<keliling;

}

Klik Donwload Scrib

Categories: Sejarah | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: