Kevin Bishop | Information Structures

Information Structures


  • 17 Jul


  • KevinBish

Summing  Variables

/*
Name: Kevin Bishop
I.D: 408000990
*/

#include “lab1.h”
int main()
{
int var1 = 0, var2 =0;
cout<<“Please Enter two integer values: “<<endl;
cout<<“———————————“<<endl;
cout<<“Please Enter First Value: “;
cin>>var1;
cout<<“”<<endl;
cout<<“Please Enter Second Value: “;
cin>>var2;
cout<<“———————————“<<endl;
cout<<“”<<endl;

print_name();
cout<<“Sum of Two Intergers: “<<sum(var1, var2)<<endl;
funct(5,6,7);
recursive(4);
cout<<“Inline Function Product: “<<infunct(5, 10)<<endl;

 

return 0;
}