Answer:
In C++:
#include <iostream>
using namespace std;
void function1(); void function2();
int main(){
function1(); function2();
return 0;}
void function1(){
cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}
void function2(){
cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}
Step-by-step explanation:
This defines the function prototypes
void function1(); void function2();
The main begins here
int main(){
This calls the two functions from main
function1(); function2();
return 0;}
This calls function1()
void function1(){
cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}
This calls function2()
void function2(){
cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}