View Code of Problem 58

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>

char a[105], b;

int main()
{
    int n = 0;
    while (scanf("%s", a) != EOF) {
        n++;
    }
    printf("%d\n", n);
}

Double click to view unformatted code.


Back to problem 58