Lompat ke konten Lompat ke sidebar Lompat ke footer

Source Code Program Penghitung Matematika Dasar FSP (Free Simple Program )

Berikut ini adalah Source Code Program Penghitung Matematika Dasar yang sudah di Compile untuk dapat dijalankan langsung melalui CMD di Windows yang sudah di share sebelumnya.


Memakai Bahasa Pemprograman C++ ya teman teman...



Source Code C++ Program Penghitung Matematika Dasar




#include<iostream.h>
#include<conio.h>
#include<math>
void main()
{
cout<<"\t\tProgram Penghitung Matematika Dasar FSP (Free Simple Program )\n \t\t\t\tProgram for Student\n \t\tDevelopment by GenBisoft 'Indonesian Software Developers' \n\n\n";
cout<<"############################################################################### \n";
char dre,lagi;
double nilai;
float angka_1,angka_2;
atas:
cout<<"\n\nMenu Pilihan Program Penghitung \n";
cout<<"=============================================================================== \n";
cout<<"[A]. Penjumlahan \n[B]. Pengurangan\n[C]. Pembagian\n[D]. Perkalian\n[E]. Selesai\n";
cout<<"Pilihan Anda [A/B/C/D/E] : ";
cin>>dre;
cout<<"=============================================================================== \n";

if(dre == 'A' || dre == 'a')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1+angka_2;
cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" + "<<angka_2<<" = "<<nilai;
}
else if(dre == 'B' || dre == 'b')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1-angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" - "<<angka_2<<" = "<<nilai;
 }
else if(dre == 'C' || dre == 'c')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1/angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" : "<<angka_2<<" = "<<nilai;
 }
else if(dre == 'D' || dre == 'd')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1*angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" x "<<angka_2<<" = "<<nilai;
 }
else
clrscr();
cout<<"\n\nSelesai\n";
cout<<"############################################################################### \n\n\n";
cout<<"\nIngin Hitung Lagi [Y/N]          : ";cin>>lagi;
if (lagi=='Y'||lagi=='y')
goto atas;
else
cout<<"\n\n\n\n\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
cout<<"\n This Product Made in Indonesian \n Thanks for using our Free Product \n visit to our site  : http://genbisoft.com \n Email : genbisoft@gmail.com\n"<<endl;
bawah:
getch();
}



Untuk Copy Source Code..




#include<iostream.h>
#include<conio.h>
#include<math>
void main()
{
cout<<"\t\tProgram Penghitung Matematika Dasar FSP (Free Simple Program )\n \t\t\t\tProgram for Student\n \t\tDevelopment by GenBisoft 'Indonesian Software Developers' \n\n\n";
cout<<"############################################################################### \n";
char dre,lagi;
double nilai;
float angka_1,angka_2;
atas:
cout<<"\n\nMenu Pilihan Program Penghitung \n";
cout<<"=============================================================================== \n";
cout<<"[A]. Penjumlahan \n[B]. Pengurangan\n[C]. Pembagian\n[D]. Perkalian\n[E]. Selesai\n";
cout<<"Pilihan Anda [A/B/C/D/E] : ";
cin>>dre;
cout<<"=============================================================================== \n";

if(dre == 'A' || dre == 'a')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1+angka_2;
cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" + "<<angka_2<<" = "<<nilai;
}
else if(dre == 'B' || dre == 'b')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1-angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" - "<<angka_2<<" = "<<nilai;
 }
else if(dre == 'C' || dre == 'c')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1/angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" : "<<angka_2<<" = "<<nilai;
 }
else if(dre == 'D' || dre == 'd')
{
   cout<<"Masukkan Angka Pertama= "; cin>>angka_1;
   cout<<"Masukkan Angka Kedua= "; cin>>angka_2;
   nilai = angka_1*angka_2;
   cout<<"Hasil Penghitungan \t=====>\t"<<angka_1<<" x "<<angka_2<<" = "<<nilai;
 }
else
clrscr();
cout<<"\n\nSelesai\n";
cout<<"############################################################################### \n\n\n";
cout<<"\nIngin Hitung Lagi [Y/N]          : ";cin>>lagi;
if (lagi=='Y'||lagi=='y')
goto atas;
else
cout<<"\n\n\n\n\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
cout<<"\n This Product Made in Indonesian \n Thanks for using our Free Product \n visit to our site  : http://genbisoft.com \n Email : genbisoft@gmail.com\n"<<endl;
bawah:
getch();
}





Semoga Bermanfaat..






Posting Komentar untuk "Source Code Program Penghitung Matematika Dasar FSP (Free Simple Program )"