Rabu, 20 November 2013

Choding menghitung luas persegi di borland c++

 Choding menghitung luas persegi di borland c++

#include <conio.h>
#include <iostream.h>
#include <stdio.h>

void main()
{
int s;
float c;
cout<<"***Menghitung Luas Persegi*****"<<endl<<endl;
cout<<"Sisi Persegi= ";cin>>s;
c=s*s;
cout<<"Luas Persegi= "<<c<<endl;
getch();
}

0 komentar:

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Distributed by: free blogger templates yarnbest islamic blogger template | cheapest vpn for iphone cheapest vps hosting uk