Respuesta :
In computing, a code segment, also known as a text segment or simply as text, is a portion of an object file or the corresponding section of the program's virtual address space that contains executable instructions.
What is a program?
A computer program is a comprehensive plan or procedure for using a computer to solve a problem; more specifically, it's a clear, sequential list of computational instructions that can be used to arrive at a solution of this kind. Software and hardware are terms used to distinguish between computer programs and hardware, respectively.
Computers can execute numerous tasks sequentially or even sporadically thanks to the programs that are stored in their memory. By the end of the 1940s, mathematician John von Neumann, who was born in Hungary, had developed the concept of an internally stored program. The "Baby," built in Manchester in 1948, was the first digital computer to be created with internal programming capability.
The program for the given data
#include<iostream> //include statement(s)
using namespace std; //using namespace statement
int main()
{ //variable declaration
int num1,num2,num3;
float average;
//executable statements
num1=125;
num2=28;
num3=-25;
average=(num1+num2+num3)/3.0; //average of num1,num2 and num3
//print values of num1,num2,num3 and average
cout<<"num1= "<<num1<<"\n";
cout<<"num2= "<<num2<<"\n";
cout<<"num3= "<<num3<<"\n";
cout<<"average= "<<average;
return 0;//return statement
}
The algorithm
start:
Declare num1,num2,num3 and average
set average=(num1+num2+num3)/3
print num1,num2,num3,average
stop
The flowchart
(see the attached file)
Learn more about program
https://brainly.com/question/26134656
#SPJ4
