There was a left over.

This commit is contained in:
2025-05-11 00:54:05 +09:00
parent f12d0bbc49
commit 2fe2e31cf7
9 changed files with 45 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#include <stdio.h>
int main(void) {
double x, y;
printf("Input floating point: ");
scanf("%lf", &x);
y = x;
if (y < 0.0)
y = -y;
printf("Absolute value of %lf is %lf.\n", x, y);
return 0;
}