learning_c/vagen_till_c/ch2/exercise7_ver2.c

13 lines
199 B
C

#include <stdio.h>
/* Another solution to to exercise 7, chapter 2, "Vägen till C".
* Not done yet...
*/
int main()
{
char c[100];
scanf("%100[0-9a-zA-Z ]", c);
printf("%s\n", c);
}