8.9.05

C++ Programming

int sum(int x,int y);
int main(){
int a=3;
int b=4;
int c;
c=sum(a,b);
cout<<"sum(a,b)="<<<>

int sum(int a, int b){
int sum
sum=a+b
a=4;
b=5;
return sum;
}

#include
#include
using namespace std;
int diff(int e,int f);
int main(){
int e;
int f;
cout<<"Enter first number: ";
cin>>e;
cout<<"Enter second number: ";
cin>>f;
int g;
g=diff(e,f);
cout<<"The product is "<<>
cout<<>
system("PAUSE");
return 0;
}
int diff(int e, int f)
{
int dif;
dif=e*f;
return dif;
}

http://two.flash-gear.com/draw/drw.php?id=131795&a=139524404&c=820879855


0 Comments:

Post a Comment

<< Home