1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
#include <iostream.h>
#include <conio.h>
int main()
{
int com001,com002,com003,com004,com005,com006,com007,com008,com009;
int com010,com020,com030,com040,com050,com060,com070,com080,com090;
int com100,com200,com300,com400,com500,com600,com700,com800,com900;
int num001,num002,num003,num004,num005,num006,num007,num008,num009;
int end,ans; ;
clrscr();
cout << "\n --------[Type Com for Command list]---------- ";
cout << "\n --------------------------------------------- ";
cout << "\n Welcom To Commads Net! Pleas Enter A Command: ";
cin >> com001 ;
if (com001 == Com )
{
clrscr();
cout << "\n ----------[Welcom To The Commands]----------- ";
cout << "\n --------------------------------------------- ";
cout << "\n - Type Cal For Calculator... ";
cout << "\n --- For Multiplication Type: Mlt ";
cout << "\n --- For Division Type: Dev ";
cout << "\n --- For Addition Type: Add ";
cout << "\n --- For Substraction Type: Sub ";
cout << "\n - Type [Your Code] For [Your Program]... ";
//-----------------------------------------[Calculator Command:]--------------------------[Start]----------------------------------------
}
if (com001 == Cal )
{
clrscr();
cout << "\n ---------[Welcom To The Calculator]---------- ";
cout << "\n --------------------------------------------- ";
cout << "\n ############################################# ";
cout << "\n #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# ";
cout << "\n #| |# ";
cout << "\n #| |# ";
cout << "\n #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# ";
cout << "\n ############################################# ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 7 # # 8 # # 9 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 4 # # 5 # # 6 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 1 # # 2 # # 3 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n ############################################# ";
cout << "\n Pleas Enter a Number: ";
cin >> num001;
clrscr();
cout << "\n ---------[Welcom To The Calculator]---------- ";
cout << "\n --------------------------------------------- ";
cout << "\n ############################################# ";
cout << "\n #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# ";
cout << "\n #| "<<num001<<" |# ";
cout << "\n #| |# ";
cout << "\n #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# ";
cout << "\n ############################################# ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 7 # # 8 # # 9 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 4 # # 5 # # 6 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # # # # # # # ";
cout << "\n # # 1 # # 2 # # 3 # # ";
cout << "\n # # # # # # # # ";
cout << "\n # ######## ######## ######## # ";
cout << "\n # # ";
cout << "\n ############################################# ";
cout << "\n Pleas Enter a Calculation Command: ";
cin >> com002
if (com002 == Add )
{
clrscr();
cout << "\n ---------[Welcom To The Calculator]---------- ";
cout << "\n --------------------------------------------- ";
cout << "\n ############################################# ";
cout << "\n #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# ";
cout << "\n #| "<<num001<<"+ |# ";
cout << "\n #|
|