Rumus Menghitung Luas Persegi Dengan C++

Rumus Persegi

#include<conio.h>
#include<stdio.h>
#include<iostream.h>
main()
{
int s,l;
cout<<“Diketahui: Sisi=”;cin>>s;
cout<<“Diketahui: Sisi=”;cin>>s;
cout<<“Ditanya  : Luas=..?”<<endl;
cout<<“s=”<<s<<“cm”<<endl;
cout<<“s=”<<s<<“cm”<<endl;
cout<<“L=..?”<<endl;
l=(s*s);
cout<<“Nilai L=(s*s)=”<<l<<“cm”;
getch();
}

Tentang boycreations

I am a boy who wont to make a many creations for share to everyone. Because i am a good boy...(^_^)
Pos ini dipublikasikan di Uncategorized. Tandai permalink.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

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