Anfängerhilfe in C- Programm

Gast #6521659
Lesenswert?

1
#include <stdio.h>
2
#include <math.h>
3
int main(void) {
4
double x;
5

6
printf("Geben Sie ein Zahl ein: ");
7
scanf( "%lf", &x);
8
printf("\nDer Floorwert von %lf ist: %lf", x, floor(x));
9
       return(0);
10
}

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren