Answer:
Answered below
Explanation:
//Program is written in Java programming language
Class RegularPolygon{
int sides = 0;
int length = 0;
}
public void randomize(RegularPolygon polygon){
int randomSides = (int) 10 + (Math.random() * 20);
double randomLength = 5 + (Math.random() * 11);
polygon.sides = randomSides;
polygon.length = randomLength;
}
The answer is Multitasking. NOS (Network Operating System) has the ability to execute more than one program at a time. It allows different programs to operate on the CPU, effectively giving each program a virtual copy of the CPU while preventing the program from directly manipulating the hardware. The NOS switches the CPU time from one task to another in order to create the idea that several tasks are being executed at the same time, but in reality, only one program is being executed.
You could assign values to variables and break it up into if else-if else statements.
<span>Pseudocode:</span>
if a < b and b < c:
print("increasing")
else if a > b and b > c:
print("decreasing")
else:
print("neither")
Hope this helps.