PROGRAM C++ MENGHITUNG LUAS KANDANG AYAM - Review Gadget Terbaru Fajar Nugraha Wahyu

Breaking

Monday, 28 September 2015

PROGRAM C++ MENGHITUNG LUAS KANDANG AYAM

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

using namespace std;


 main()
{
  int x;
  int y;
  int hasil;
  cout<<"PROGRAM KANDANG\n\n\n";
  cout<<"=================\n\n";
  cout<<"Panjang : ";cin>>x;
  cout<<"Lebar : ";cin>>y;
  hasil=2*x+y;
  cout<<"LUAS : "<<hasil;
}




No comments:

Post a Comment