var a: real;
begin
readln(a);
a:= abs(a);
write(a)
end.
#include <iostream>
#include <cmath>
int main ()
{
int n;
std::cin >> n;
std::cout << abs(n);
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var a: real;
begin
readln(a);
a:= abs(a);
write(a)
end.
#include <iostream>
#include <cmath>
int main ()
{
int n;
std::cin >> n;
std::cout << abs(n);
return 0;
}