Code:
#include "stdafx.h"
#include <iostream>
using namespace std;
char engwords [50][12] = {"Dog","Cat","Computer","Chair","Love","School",
"Talk","Word","Letter","Jump","Pencil","Paper","Coffee",
"Milk","Bag","Board","Eraser","Wound","Morning","Night","Noon",
"Dinner","Skin","Green","Blue","Red","Earthequake","Volcano","River",
"Sea","Trousers","Joy","Happy","Stairway","Vegetables","Cup","Scissor","Shoes","Can","Car","Job","Work",
"Boy","Girl","Soil","Baby","Leader","Shout","Write","Hand"};//the array of 50 english words
char philwords [50][12]= {"Aso","Pusa","Kompyuter","Silya","Mahal","Paaralan","Usap","Salita",
"Letra","Lukso","Lapis","Papel","Kape","Gatas","Bag","Pisara","Pambura","Sugat","Umaga",
"Gabi","Tangali","Hampunan","Balat","Berde","Asul","Pula","Lindol","Bulkan","Ilog","Dagat",
"Pantaloon","Ligaya","Maligaya","Hagdanan","Gulay","Tasa","Gunting","Sapatos","Lata","Kotse",
"Trabaho","Gawa","Lalake","Babae","Lupa","Bata","Pinuno","Sigaw","Sulat","Kamag"};//the array of 50 philippine words
char option;
int translator();
int quiz();
int main()
{
i want the programme to randomley pick an english word from the english array and ask for the philopine translation. possibly giving the user 3 chances to get it right.