How to loop/store/print for multiple input?

I'm a newbie to C, and I'm currently taking a class in this language. I was given an assignment where I have to gather multiple lines of data (name, SSN, tuition, etc.), for multiple people.

The end result would look like this:

Name: John Doe
SSN: 111-22-3344
Tuition: 2400

Name: Jane Doe
SSN: 222-33-4455
Tuition: 600

Name: Glen Doe
SSN: 333-44-5566
Tuition: 3000
....

That said, I know I'm going to need a loop. And I have to use a sentinel value because my teacher never said how long it should loop.

However, my textbook only shows loops for averaging out grades. It doesn't show ANYTHING about multiple types (and multiple lines) of input. So now I have two major problems:

1. How do I store and print data for multiple input? I don't want to create 20+ values called "name" (name1, name2, etc), "SSN", and "tuition".

2. Is there a way to enter the sentinel value for any piece of data? I was going to have people enter "-1", on the "Name" line (which is the first prompt they'll see), if they want to quit. But what if they enter a name anyway and then decide to quit on the "SSN" line? Can I use a sentinel value of "-1" for the "SSN" line too?

There's a first time for anything!
I'm not against innovation or imagination, but what is wrong with using "struct conglomeration" where that type is required? What do you gain (not counting a few keystrokes) by using a macro instead?

Also note that the usual way to gain keystrokes is with a typedef (I still prefer the literal "struct conglomeration")

Thank you both for the replies, but this code is a bit...complex. We've never gone over #define or GROUP...and we barely covered fgets.

We're pretty much just using these:printfscanfforwhiledo++aswitchcasecounter = 0

...and other basic commands like that.

Is there a way to store data using these basic commands? Or do I have to use advanced functions like the one you posted? I can't seem to find anything on Google, and I don't think any of my ideas will work.

EDIT: I'm seeing some posts (on Google) that talk about arrays. Could I use one of those to store multiple input, like 10 or more names?

@b49P23TIvg: No, we don't lose credit if we jump a little bit ahead. Arrays are in Chapter 6 (which we aren't on yet)...but the really complex stuff is probably covered in Chapter 18 or something. He'd definitely mark me down because then it's obvious I got a ton of help.

Here's what I came up with for my array. For now, I'm only working with one piece of input at a time...so I'm just trying to figure out the "multiple names" part.

I'm pretty sure this is wrong -- I even got 2 error messages -- but at least it shows I'm trying:

What is the purpose of entering these multiple people?
1) It it to collect data for use later in the program?
2) Is it to create a file of students so the next program can read a file?
3) Is it simply to input multiple people just to learn how to use a loop?

#1 requires arrays.
#2 and 3 do not.

So it really depends on exactly what the assignment is meant to teach you. You need to provide more information.