Answer:
program arraysminfinder;
procedure minreplace();
var
no: array [1..10] of integer; (*no is an array of integers, 10 in all *)
a: integer= 0;
i: integer= 0;
c: integer= 0;
k: integer=0;
N: integer=0;
begin
(* We need to first initialize the array no with 0 values *)
for a := 1 to 10 do
no[a]:=0;
c:=no[1];
for a := 1 to 10 do
begin
if (no[i]<c) then
begin
c:=no[i];
k:=i;
end
else
begin
i:=i+1;
end
end;
writeln('Enter the new number:');
read(N);
no[k]:=N;
for a := 1 to 10 do
begin
writeln('The array elements are:',no[a]);
end;
end;
begin
end.
Explanation:
The program is as above. I have used a function, a for loop, an array of integers, and the if then else ladder for getting the desired output as mentioned in the program. If in case you want procedure for input and output, create a procedure like:
procedure replacenum():integer;
Begin
writeln("Enter the new number:" N);
no[k]:=N;
for a := 1 to 10 do
writeln("The array elements are:"no[a]);
end.
Similarly you can make a procedure for input.
A 5GL fifth-generation languages a programming language design to solve given problem without programmer. The user only needs to solve the problem and condition without implementing an algorithm.
Explanation:
First Generation Language
The first generation language is called low- level style because they were used at a superficial level of abstraction. First-generation language referred to as the native language.
Second Generation Language
The second-generation language is also low-level language or assembly language. The second level of language uses the concept of mnemonics for the writing program. Symbolic name are used.
Third Generation Language
The third-generation language overcomes the first and second-generation languages. Third generation language is considered as high- level language because the target is to focus on the logic of the program.
Fourth Generation Language
The language of generation required a lot of time and effort that affect programmers.The fourth-generation was developed to reduce the time, cost, and effort.
Fifth Generation Language
The programming language of this generation focuses on constraints programming. The fifth-generation programming languages are Artificial Intelligence and Artificial Neural Network.
Answer
page numbering
Explanation
Page numbering is where the writer employs a process of applying sequence of numbers to pages of a certain document may it be a book, a magazine, a news paper or any other document having pages.The reference marker that a source might use a page numbering to be able to reference details that are referenced in other details. By this it reduces complication
The subnet mask can be utilized to segment the 172.16.0.0 network to qualify for a minimum of 6 subnets while maximizing the numeral of broadcasters per subnet is 255.255.224.0
<h3>What do subnet masks mean?</h3>
- A subnet mask is a 32-bit numeral formed by setting keeper bits to all 0s and developing network times to all 1s.
- In this way, the subnet mask divides the IP speech into the network and host addresses.
- A subnet mask is used to separate an IP address into two pieces. One element defines the host (computer), and the different part identifies the network to which it belongs.
- To better comprehend how IP lessons and subnet masks work, look at an IP speech and see how it's managed.
To learn more about subnet mask, refer to:
brainly.com/question/3234986
#SPJ4