Thursday, 11 May 2017

Functions C++ part 5 [29]





#include<constream.h>

#include<iomanip.h>



void add(int,int);

void subtraction(int,int);

void mult(int,int);

void div(int ,int);



void main(){

clrscr();

   cout<<"--------- MENU ---------"<<endl;

    cout<<"a : ADDITION"<<endl;

    cout<<"m : MULTIPLICATION"<<endl;

    cout<<"d : DIVISION"<<endl;

    cout<<"s : SUBTRACTION"<<endl;

    cout<<"e : EXIT"<<endl;

   cout<<"--------- END ---------"<<endl;

   

    char choice;

    cout<<"plzz enter your choice"<<endl;

    cin>>choice;

   

   

   

getch();

}



void add(int a,int b)

{

 

}

void sub(int a,int b)

{

 

}

void mult(int a,int b)

{

 

}

void div(int a,int b)

{

 

}

No comments:

Post a Comment