online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include<chrono> #include<ctime> #include <thread> #include<fstream> #include<iomanip> //#include <windows.h> #include <string> using namespace std; int main() { cout << " USA math Minstry and Organization \n"; cout << " Lets think about it \n"; string answer, name; int counter = 0; while (answer != "yes") { if (counter == 0) { cout << "Lets Begin !!\n"; } else cout << "I hope in " << counter + 1 << " time you find your desired result .\n"; //Your code here************************************************** cout << "Tell me waht is your name first? please\n"; string name = " "; cin >> name; cout << " thank you " << name << endl; cout << "waht is your Words per minutse and comprehansive rate persantage(%) in Reading ?\n"; cout << "Copy and Paste--> http://www.readingsoft.com <-- into search engine to get your comprehansive rate persantage \n"; int SpeedReadRate = 0, ComprehasiveRate = 0; cin >> SpeedReadRate >> ComprehasiveRate; if (SpeedReadRate <= 100 & ComprehasiveRate <= 50) { cout << "you are Insufficient reaeder\n"; cout << "So My Dear " << name << " You are Slow reader follow the step below" << endl; cout << "First fight being slow reader and become Oral readr\n"; cout << "Than fight Oral reader and become auditory reader\n"; cout << "Third fight being auditory reader and become Visula reader\n"; cout << name << " WPM " << SpeedReadRate << " Comprehansive " << ComprehasiveRate << "%" << endl; } else if (SpeedReadRate <= 200 & SpeedReadRate >= 100 & ComprehasiveRate >= 50 & ComprehasiveRate <= 70) { cout << "you are an Avrage Reader\n"; cout << "So My Dear " << name << " You are Oral reader follow the step below" << endl; cout << "First fight Oral reader and become auditory reader\n"; cout << "second fight being auditory reader and become Visula reader\n"; cout << name << " WPM " << SpeedReadRate << " Comprehansive " << ComprehasiveRate << "%" << endl; } else if (SpeedReadRate <= 300 & SpeedReadRate >= 200 & ComprehasiveRate >= 60 & ComprehasiveRate <= 80) { cout << "you are good reader\n"; cout << "So My Dear " << name << " You are auditory reader follow the step below" << endl; cout << " become a visaul reader and you are done\n"; cout << name << " WPM " << SpeedReadRate << " Comprehansive " << ComprehasiveRate << "%" << endl; } else if (SpeedReadRate <= 1000 & SpeedReadRate >= 300 & ComprehasiveRate >= 80 & ComprehasiveRate <= 100) { cout << "you are Excellent reaeder\n"; cout << name << " WPM " << SpeedReadRate << " Comprehansive " << ComprehasiveRate << "%" << endl; } else { cout << "Dude please take an online test in http://www.readingsoft.com \n"; cout << name << " WPM " << SpeedReadRate << " Comprehansive " << ComprehasiveRate << "% are you kidding me" << endl; //break; } const int kjv = 783137; int min = kjv/SpeedReadRate; int space =5; cout << setprecision(10); cout << "King Jamse Bible has " << kjv << " words and in Total you have "<<min <<" minutse So : \n"; cout << "If you read for 15 min a day so in total you have " << setw(space) << min / 15 << " Day; therefor You will finsh the Bible in :" << setw(space) << int((min /15) / 356) << " year " << setw(space) << (int(min / 15) % 365) / 30 << " month " << setw(space) << (int(min / 15) % 365) % 30 << " Days\n"; cout << "If you read for 30 min a day so in total you have " << setw(space) << min / 30 << " Day; therefor You will finsh the Bible in :" << setw(space) << int((min / 30) / 356) << " year " << setw(space) << (int(min / 30) % 365) / 30 << " month " << setw(space) << (int(min / 30) % 365) % 30 << " Days\n"; cout << "If you read for 45 min a day so in total you have " << setw(space) << min / 45 << " Day; therefor You will finsh the Bible in :" << setw(space) << int((min / 45) / 356) << " year " << setw(space) << (int(min / 45) % 365) / 30 << " month " << setw(space) << (int(min / 45) % 365) % 30 << " Days\n"; cout << "If you read for 60 min a day so in total you have " << setw(space) << min / 60 << " Day; therefor You will finsh the Bible in :" << setw(space) << int((min / 60) / 356) << " year " << setw(space) << (int(min / 60) % 365) / 30 << " month " << setw(space) << (int(min / 60) % 365) % 30 << " Days\n"; //Your end of the code******************************************** counter++; cout << "Are you you saticfy with your result this time ?\n"; cin >> answer; } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue