/*
* File: main.c
* Author: DEBASIS TALDI
*/
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#define MAX_LENGTH 100
/*
* Programming Assignment 1
*/
int main(int argc, char** argv)
{
// IMPORTANT: Only add code in the section
// indicated below. The code I've provided
// makes your solution work with the
// automated grader on Coursera
char input[MAX_LENGTH 100];
fgets(input, MAX_LENGTH 100, stdin);
while (input[0] != 'q')
{
// Add your code between this comment
// and the comment below. You can of
// course add more space between the
// comments as needed
//print message
printf("H/nHe/nLi/nBe/nB/nC/nN/nO/nF/nNe/n");
// Don't add or modify any code below
// this comment except as indicated below
fgets(input, MAX_LENGTH 100, stdin);
}
return 0;
}