Logo  

CS256 - Fundamentals of Structured Programming

Displaying exercises/e6/files/p3.c

#include <stdio.h>

/**
 * Make a program that reads a single character at a time from the input (you
 * can use scanf() or getchar() to do this) in a loop and then counts all the
 * upper and lower case x's and o's in the input then prints the counts of each.
 * 
 * Example input/output:
 * ./p6 < Makefile 
 * X's = 1, O's = 24
 */

int main(void)
{

  return 0;
}