Hi there, i am new to using link-list.....

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>

typedef struct ingredient Ingredient;
enum quantity_type {
struct ingredient {
char *name;
int quantity;
enum quantity_type type;
Ingredient *next;
the user to has to enter a list of ingredients at a time. The selection may be re-entered to add to the already stored list of ingredients.

the list has to be in a loop until an empty string is entered in to te char name;
any one willing to help me out