I've a got a huge program to write for an assignment and I'm needing a little help. Basically I have to write a program that contains a loop and an array. I know the basics of arrays and loops but in C I'm lost! I learnt how to write the a loop like the one below, but it doesn't do the job properly. The syntax isn't correct. All I need to know is how to perform a loop so that people enter their names one by one in an array (for four people). I know the following code has the right idea, but it's not right to syntax. I'd be most greatful if you could help.
for (count = 0; count <=3; count = count + 1)
count = count + 1;
count = 0
for (count = 1; count <=50; count = count + 1)
count = count + 1