How to work with Abs by example
To work with Abs by example
Example:
program Welcome;
uses
WinCrt;
var
r:integer;
t:real;
begin
r:=Abs(-100);
t:=Abs(-1.2);
Write(r,t);
end.
Output:
How to work with Abs by example
To work with Abs by example
Example:
program Welcome;
uses
WinCrt;
var
r:integer;
t:real;
begin
r:=Abs(-100);
t:=Abs(-1.2);
Write(r,t);
end.
Output:
To work with Abs functions
Description:
Returns the absolute value of the argument.
Declaration:
Abs(x);
To build the project
Step 1
To build the project, the first thing you need to do is to use the mouse to open the Compile menu and then click the Build command.
Step 2
Next, you could see that the program contains no errors.
To make the project
Step 1
If you wish to make the project, first, you need to use the mouse to open the Compile menu and then click the Make command.
Step 2
Next, you can see that the program has no errors.