Operasi Perhitungan Matematika di C++ Menggunakan CodeBlocks, Coding Program beserta Screenshootnya.
Coding Program :
// tugas fungsi.cpp : Defines the entry point for the console application.//
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
int x, y,awal;
char pil;
char jwb;
cout << "\n\t\t - Operasi Perhitungan Matematika -\n";
cout << "\t=====================================================\n\n";
cout <<"1.Perkalian" << endl;
cout <<"2.Penjumlahan" << endl;
cout <<"3.Pembagian" << endl;
cout <<"4.Pengurangan" << endl;
cout <<"Pilihan Anda" << endl;
cin>>pil;
cout <<endl;