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.
Answer:
"Virtual reality" is the appropriate answer.
Explanation:
The utilization of technological advances gives the impression of a 3D interactive environment wherein the things that have such a perception of space embodiment or involvement, are considered as Virtual reality.
Virtual reality implementations often include:
- Entertainment,
- Medical and
- Educational activities.
Answer:
B. Machine dependent and machine oriented pls mark me branilest
The answer is you are responsible for paying all the
interest that accumulates on your loan. <span>For unsubsidized loans, the interest
accumulates while you are in school, and 6 months after you graduate (or drop
out) you will start paying on your loans. </span>
Answer:
here is the answer
Explanation:
1) accurate
2) fast
3) can accomplish tasks more effencily