In: Computer Science
Write program logic or pseudocode to create 3 small programs that do the following:

program in c++
#include<iostream>
using namespace std;
//method to add two integers
int first(int a,int b)
{
    return a+b;
}
//method to multiply two integers
int prod(int a, int b)
{
   return a*b;
}
  
//method to triple the sum of two integers
int triple(int a, int b)
{
    return 3*(a+b);
}
//driver program
int main()
{
   int a,b,c;
   cout<<"\n Enter two integers";
   cin>>a>>b;//input two integers
   cout<<endl<<a<<" +
"<<b<<" = "<<first(a,b);//print the sum of a and
b
       cout<<endl<<a<<"
* "<<b<<" = "<<prod(a,b);//multiply a and b
       cout<<endl<<"The triple
of sum of "<<a<<" and "<<b<<" is
"<<triple(a,b)   ;//triple the sum of a and b
   }
outpur
