Current location - Training Enrollment Network - Mathematics courses - What do you mean by "Wende, SQR, ABS" in mathematical algorithms?
What do you mean by "Wende, SQR, ABS" in mathematical algorithms?
Wend used with While is a loop statement of type until.

While is a condition that indicates return. Here's an example:

Enter "Please enter a positive integer n = ";; n

a= 1

i= 1

And I & lt=n

a=a*i

i=i+ 1

line

Print "n! =" ; a

end

Enter "Please enter a positive integer n = ";; n

a= 1

i= 1

And I & lt=n

a=a*i

i=i+ 1

line

Print "n! =" ; a

end

SQR () and ABS () are two functions, which are used to find the square root and absolute value of a number respectively.