Diamond Coding C++
Diamond Coding C++
#include <cstdlib>
#include <ctime>
#include <string>
using namespace std;
const int MAX_TRIES = 5;
int letterFill(char, string, string&);
int main()
{
string name;
char letter;
int num_of_wrong_guesses = 0;
string word;
// compare level
if (level == "Easy")
{
//put all the string inside the array here
string easy[] = { "india", "japan", "nepal", "china" };
string word;
int n = rand() % 4;
word = easy[n];
int n = rand() % 3;
word = average[n];
int n = rand() % 3;
word = hard[n];