I am trying to finish an array and have every thing done except the program has a requirement to end if the number 0 is typed in.
See program below and advise:

#include <stdio.h>
int main()
{...