Код для запуска приложения в С++
Для изучения английского языка
// Aizere's c++ program
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
using namespace std;
int main()
{
string name, answer;
int number;
cout<<"p.s this program is only for Intermediate level of English knowledge"<<endl;
this_thread::sleep_for(chrono::seconds(2));
cout<<"so let's get started"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"What's your name?"<<endl;
cin>>name;
cout<<"Hello "<<name<<"!"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"Do you want to learn new word?"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"write yes if you want or get out of here"<<endl;
cin>>answer;
cout<<"we have 25 essential words for intermediate level"<<endl<<"choose one number between 1 to 25"<<endl;
cin>>number;
switch (number)
{
case 1:
{
cout<<"abolish-otmenyat'";
break;
}
case 2:
{
cout<<"addiction-zavisimost'";
break;
}
case 3:
{
cout<<"amateur-lubitel'";
break;
}
case 4:
{
cout<<"ambulance-skoraya pomosh'";
break;
}
case 5:
{
cout<<"approve-adobrayt'";
break;
}
case 6:
{
cout<<"boast-hvastat'sya";
break;
}
case 7:
{
cout<<"canteen-stolovaya";
break;
}
case 8:
{
cout<<"celeberity-znamenitost'";
break;
}
case 9:
{
cout<<"civilian-shtatskii";
break;
}
case 10:
{
cout<<"confidence-uverennost'";
break;
}
case 11:
{
cout<<"contribure-delat' pozhertvovaniya";
break;
}
case 12:
{
cout<<"courage-smelost'";
break;
}
case 13:
{
cout<<"crawl-polzat'";
break;
}
case 14:
{
cout<<"deliver-dostavlyat'";
break;
}
case 15:
{
cout<<"depth-glubina";
break;
}
case 16:
{
cout<<"descend-spuskat'sya";
break;
}
case 17:
{
cout<<"dismiss-otpuskat'";
break;
}
case 18:
{
cout<<"solve-reshit'";
break;
}
case 19:
{
cout<<"dissolve-razrushat'";
break;
}
case 20:
{
cout<<"elaborate-razrabativat'";
break;
}
case 21:
{
cout<<"famine-golod";
break;
}
case 22:
{
cout<<"hiccup-ikota";
break;
}
case 23:
{
cout<<"household-bit";
break;
}
case 24:
{
cout<<"humiliate-unizhat'";
break;
}
case 25:
{
cout<<"liberty-svoboda";
break;
}
default:
cout<<"i said you, choose number between 1-25"<<endl;
}
cout<<endl<<"try again";
return 0;
}
// Aizere's c++ program
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
using namespace std;
int main()
{
string name, answer;
int number;
cout<<"p.s this program is only for Advanced level of English knowledge"<<endl;
this_thread::sleep_for(chrono::seconds(2));
cout<<"so let's get started"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"What's your name?"<<endl;
cin>>name;
cout<<"Hello "<<name<<"!"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"Do you want to learn new word?"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"write yes if you want or get out of here"<<endl;
cin>>answer;
cout<<"we have 25 essential words for advanced level"<<endl<<"choose one number between 1 to 25"<<endl;
cin>>number;
switch (number)
{
case 1:
{
cout<<"mature-zrelii";
break;
}
case 2:
{
cout<<"maintain-podderzhivat'";
break;
}
case 3:
{
cout<<"naughty-neposlushnii";
break;
}
case 4:
{
cout<<"petrol-benzin";
break;
}
case 5:
{
cout<<"abate-umen'shat'";
break;
}
case 6:
{
cout<<"boor-grubian";
break;
}
case 7:
{
cout<<"dearth-deficit";
break;
}
case 8:
{
cout<<"deference-uvazhenie";
break;
}
case 9:
{
cout<<"diligent-staratel'nii";
break;
}
case 10:
{
cout<<"docile-vospiimchevii";
break;
}
case 11:
{
cout<<"drought-zasuha";
break;
}
case 12:
{
cout<<"glib-cvobodnii";
break;
}
case 13:
{
cout<<"incise-nadrezat'";
break;
}
case 14:
{
cout<<"pervade-zapolnyat'";
break;
}
case 15:
{
cout<<"plumb-yavnii";
break;
}
case 16:
{
cout<<"probity-honest";
break;
}
case 17:
{
cout<<"repine-zhalovat'sya";
break;
}
case 18:
{
cout<<"vilify-chernit'";
break;
}
case 19:
{
cout<<"whittle-bol'shoi nozh";
break;
}
case 20:
{
cout<<"vituperate-branit'";
break;
}
case 21:
{
cout<<"froward-svoevol'nii";
break;
}
case 22:
{
cout<<"feckless-bespomosh'nii";
break;
}
case 23:
{
cout<<"extant-saved";
break;
}
case 24:
{
cout<<"doleful-skorbnii";
break;
}
case 25:
{
cout<<"dangle-boltat'";
break;
}
default:
cout<<"i said you, choose number between 1-25"<<endl;
}
cout<<endl<<"try again";
return 0;
}
Коды для С++ программ
Коды для С++ программ
Коды для С++ программ
ELEMENTARY
ADVANCED
INTERMEDIATE
// Aizere's c++ program
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
string name, answer;
int number;
cout<<"p.s this program is only for Elementary level of English knowledge"<<endl;
this_thread::sleep_for(chrono::seconds(2));
cout<<"so let's get started"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"What's your name?"<<endl;
cin>>name;
cout<<"Hello "<<name<<"!"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"Do you want to learn new word?"<<endl;
this_thread::sleep_for(chrono::seconds(1));
cout<<"write yes if you want or get out of here"<<endl;
cin>>answer;
cout<<"we have 25 essential words for elementary level"<<endl<<"choose one number between 1 to 25"<<endl;
cin>>number;
switch (number)
{
case 1:
{
cout<<"advice-sovet";
break;
}
case 2:
{
cout<<"beehive-pchelinii ulei";
break;
}
case 3:
{
cout<<"remain-ostavat'sya";
break;
}
case 4:
{
cout<<"reuse-povtornoe ispol'zovanie";
break;
}
case 5:
{
cout<<"magnificent-velicolepnii";
break;
}
case 6:
{
cout<<"mertial art-boevoe iskusstvo";
break;
}
case 7:
{
cout<<"approximately-primerno";
break;
}
case 8:
{
cout<<"ladder-lestnica";
break;
}
case 9:
{
cout<<"vertigo-golovokruzhenie";
break;
}
case 10:
{
cout<<"ability-vozmozhnost'";
break;
}
case 11:
{
cout<<"accident-sluchai";
break;
}
case 12:
{
cout<<"left-vlevo";
break;
}
case 13:
{
cout<<"right-vpravo";
break;
}
case 14:
{
cout<<"swap-menyat'";
break;
}
case 15:
{
cout<<"craving-strastnor zhelanie";
break;
}
case 16:
{
cout<<"perk smth up-zaryadit' energiei";
break;
}
case 17:
{
cout<<"skill-navik";
break;
}
case 18:
{
cout<<"find out-viyasnit'";
break;
}
case 19:
{
cout<<"hire-nanimat'";
break;
}
case 20:
{
cout<<"fire-ogon'";
break;
}
case 21:
{
cout<<"recruit-nabirat'";
break;
}
case 22:
{
cout<<"loyal-vernii";
break;
}
case 23:
{
cout<<"wage-zarplata";
break;
}
case 24:
{
cout<<"provide-obespechit'";
break;
}
case 25:
{
cout<<"union-souz";
break;
}
default:
cout<<"i said you, choose number between 1-25"<<endl;
}
cout<<endl<<"try again";
return 0;
}
А ВОТ И БЛОК-СХЕМА
Система для всех одна, но отличаются лишь уровни знания английского языка и предлагаемые слова для учения.
Для данных программ, я использовала Switch u case.
This site was made on Tilda — a website builder that helps to create a website without any code
Create a website