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;
}




0 Response to "PROGRAM C++ MENGHITUNG LUAS KANDANG AYAM"

Post a Comment