i was putting the finishing touches on my project and there are some errors that came up
here is my code:
else if (action == 3){
system("cls");
cout << "Russia has an entrenched, albeit underfunded, system of socialized medicine. Basic medical care is available" << endl;
cout << "to most of the population free of cost, but its quality is extremely low by Western standards, and in the" << endl;
cout << "mid-1990s the efficiency of the system continued the decline that had begun before the collapse of the Soviet" << endl;
cout << "system. In the first four post-Soviet years, that decline was typified by significant increases in infant and" << endl;
cout << "maternal mortality and contagious diseases and by decreases in fertility and life expectancy." << endl;
cout << endl;
cout << endl;
cout << "to go back to the main menu, press 1, and then enter." << endl;
cout << endl;
cout << "or to go back to learn more about russia press 2 and then enter." << endl;
cin >> action;
if (action == 1){
cout << Mainmenu();
system("cls");
}
else if (action == 2){
cout << Europe();
system("cls");
}
else cin >> action;
}
else cin >> action;
}
else if (action == 4) // it says first error is here
{
cout << "TB rates in Russia increased by 70% from 1990 to 1995, according to sanitary epidemiologic surveillance records." << endl;
cout << "The disease rate in 1999 was 4.5% higher than in 1998 (4,6) (61.4/100,000 or 90,000 newly identified cases," << endl;
cout << "4,681 [5%] in children <14 years of age [6,7]). More than 25,000 persons die of TB each year. The highest" << endl;
cout << "rates are reported from Tuva, Khakassia, Khakassia, and the Tyumen, Jewish Autonomic, Perm, and Novosibirisk" << endl;
cout << "regions, with case rates of 266.4, 212.4, 146.8, 142.3, 137.6, 131.9, and 131 per 100,000, respectively." << endl;
cout << "These data from the Ministry of Health likely do not reflect the disease rate among prisoners, who numbered" << endl;
cout << "approximately 974,000 in September 2000 (www.prison.org). The TB death rate, however, has remained stable or" << endl;
cout << "declined, with 16.7 per 100,000 in 1997 and 15.4 in 1998." << endl;
cout << "Brucellosis-" << endl;
cout << "In the 1990s, 300 to 700 cases of brucellosis occurred each year. No apparent long-term trends were observed." << endl;
cout << "Anthrax-" << endl;
cout << "Although many natural foci are located in Russia, the number of anthrax cases per year during the past 10 years" << endl;
cout << "has never exceeded 100 (e.g., 37 in 1998, 45 in 1999)." << endl;
cout << "Diphtheria-" << endl;
cout << "In the former Soviet Union, diphtheria was controlled through vaccination. The large increase in cases in the" << endl;
cout << "early 1990s was mainly due to low vaccination coverage because of a new policy, under which vaccination was" << endl;
cout << "not recommended for large segments of the population (3). This policy, which was introduced in the beginning" << endl;
cout << "of the 1990s, was rescinded in the mid-1990s. In addition, a widespread advertising campaign on television and" << endl;
cout << "other mass media about the adverse effects of vaccination caused widespread reluctance of the public to be vaccinated." << endl;
cout << "As a result, by 1994, the disease rate had increased almost 30-fold. Since then, a mass vaccination campaign has been" << endl;
cout << "implemented in the most heavily affected regions, and by 1999 diphtheria rates had returned to the levels recorded" << endl;
cout << "in the early 1990s. Ministry of Health statistics (Table; 4,5) demonstrate a sharp decrease in diphtheria, which" << endl;
cout << "was achieved through an organized, voluntary immunization campaign of a scale unprecedented in post-Soviet Russia." << endl;
cout << endl;
cout << endl;
cout << "to go back to the main menu, press 1, and then enter." << endl;
cout << endl;
cout << "or to go back to learn more about Brazil press 2 and then enter." << endl;
cin >> action;
if (action == 1){
cout << Mainmenu();
system("cls");
}
else if (action == 2){
cout << Brazil();
system("cls");
}
else cin >> action;
}
else cin >> action;
}
else if (action == 5)
{
cout << "" << endl;
cout << endl;
cout << endl;
cout << "to go back to the main menu, press 1, and then enter." << endl;
cout << endl;
cout << "or to go back to learn more about Brazil press 2 and then enter." << endl;
cin >> action;
if (action == 1){
cout << Mainmenu();
system("cls");
}
else if (action == 2){
cout << Brazil();
system("cls");
}
else cin >> action;
}
else cin >> action; // says second error is here
}// says third error is here
here are the errors:
1.expected unqualified-id before "else"
1(part 2) expected `,' or `;' before "else"
2.expected unqualified-id before "else"
2(part 2) expected `,' or `;' before "else"
3. expected declaration before '}' token