snp-lab-code/P01_Erste_Schritte_mit_C/P1_aufgabe4.c

22 lines
236 B
C
Raw Permalink Normal View History

2022-03-15 08:55:38 +01:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int words = 0;
(void)printf("Enter your Text: ");
while(getchar() != "\n") {
words ++;
}
(void)printf(%d, words);
//scanf("%lf", &Text);
return EXIT_SUCCESS;
}