I have having a bit of trouble, i need to write a program that converts fahrenheit to celsius (i can do the function for this part) but it needs to start with a loop that first prompts the user to "Enter Temperature:" and then stores the value entered into the array which is supposed to be no more than 50. I am having issues with how to input data into the array starting at 0 and keep going up 1 (all I can do is input data directly to myarray[50], but I want the user to input data and it be entered into the array like
enter data one > put in array[0]
enter data 2 > put in array[1]
The program also has to ask the user if they want to keep entering data by pressing 1, or stop by pressing 0. The program then has to display how many arrays there are of temperatures (not the value of them, just how many there are). Please help!! This is what I have so far, any help greatly appreciated.

insert
Code:
// Computer Lab test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
using namespace std;

// call this function to convert celsius to fahrenheit (function name is convert)
double 
convert(double celsius){
   double fahrenheit = ((9.0/5.0) * celsius) + 32;
    return fahrenheit;
};

int _tmain(int argc, _TCHAR* argv[])
{
	double myarray[50];
	int flag;
	flag =1;
	while (flag==1)
	{
		// loop
		cout << "Enter Temperature Reading:";
		cin >>myarray[50]
	;cout << " Enter 1 to input more values, 0 to stop";
	cin >>flag;
	}
	return 0;
}