Search This Blog

Sunday, 23 August 2020

create the function new to display the statements

 #include<iostream>

#include<conio.h>

using namespace std;

int disp(int ,int);

int main()

{

int a,b;

cout<<"Enter the two numbers:"<<endl;

cin>>a>>b;

disp(a,b);

getch();

return 0;

}

 int disp(int x,int y)

{

cout<<"Additiis:"<<x+y;

}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts