fine then
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
using namespace std;
int main() {
string task;
string operation;
int timer = 0;
int x = 0;
int y = 0;
int z = 0;
int i = 0;
int answer = 0;
cout << "The CCCDSE(ching chong calculator detection system evader) aka the CCCDSES(ching chong calculator detection system evading system or evasion system) and the NCFSRA(Non-calculator for school related activities) or simply the NCTS(Non-calculator timer system)";
cout << "What would you like to do?(calculator, or timer)\n";
cin >> task;
if (task == "timer" || task == "Timer") {
cout << "For how long?\n";
cin >> timer;
if (!timer) {
cout << "try a number, not a string\n";
} else {
for (i = timer; i > 0; --i) {
cout << i << " seconds...\n";
this_thread::sleep_for(chrono::seconds(1));
}
cout << "Wake tf up bro";
}
} else if (task == "calculator" || task == "Calculator") {
cout << "Which operation?(divide, multiply, add or subtract in lower case, and don't add strings into the numbers)\n";
cin >> operation;
if (operation == "divide") {
cout << "First number\n";
cin >> x;
cout << "Second number\n";
cin >> y;
cout << "Third number(0 if you don't need one)\n";
cin >> z;
if ((y == 0 && z == 0) || (y == 0)) {
cout << "You can't divide by 0, silly";
} else if (z == 0) {
z++;
answer = x / y / z;
cout << answer;
}
}
if (operation == "multiply") {
cout << "First number\n";
cin >> x;
cout << "Second number\n";
cin >> y;
cout << "Third number(0 if you don't need one)\n";
cin >> z;
if (z == 0) {
z++;
}
answer = x * y * z;
cout << answer;
}
if (operation == "add") {
cout << "First number\n";
cin >> x;
cout << "Second number\n";
cin >> y;
cout << "Third number(0 if you don't need one)\n";
cin >> z;
answer = x + y + z;
cout << answer;
}
if (operation == "subtract") {
cout << "First number\n";
cin >> x;