#include<iostream>
#include<cmath>
signed main() {
int a;
float b;
double c;
std::cin >> a >> b >> c;
std::cout << abs(a) << " " << abs(b) << " " << abs(c);
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
#include<iostream>
#include<cmath>
signed main() {
int a;
float b;
double c;
std::cin >> a >> b >> c;
std::cout << abs(a) << " " << abs(b) << " " << abs(c);
return 0;
}