And?!
By the way change
while (again==y);
to
while (again=='y');
EDIT; Oh, I am sorry. You are comparing two variables again and y.:)
In this case it would be better to define y as const char. For example
const char y = 'y';
But I have not understood what is the question?
Last edited on
What's the point of line 7? You don't use the variable anywhere.