#include<constream.h>
#include<iomanip.h>
void show(int,int);
void main(){
clrscr();
cout<<"enter a number";
int num1;
cin>>num1;
cout<<"enter a number";
int num2;
cin>>num2;
show(num1,num2);
getch();
}
void show(int num1,int num2)
{
cout<<"you enterd: "<<num1 + num2;
getch();
}
No comments:
Post a Comment