#include <stdio.h> /* For input and output */
#include <ctype.h> /* For toupper() function */
#include <stdlib.h> /* For rand() and srand() functions */
#include <time.h> /* For time() and clock() functions */
void main()
{
char another_game = 'Y';
printf("\nDo you want to play again (y/n)? ");
scanf("%c", &another_game);
printf("\n %c ",toupper(another_game));
}