From cc16a84649e44eaa2d94fc8beeb530da52c81f00 Mon Sep 17 00:00:00 2001 From: jstmax! <87650746+MaxWasTakenYT@users.noreply.github.com> Date: Thu, 17 Oct 2024 18:45:04 +0000 Subject: Update xsc.cpp --- xsc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xsc.cpp b/xsc.cpp index 56d1d97..537a509 100644 --- a/xsc.cpp +++ b/xsc.cpp @@ -8,7 +8,7 @@ void usage() { system("figlet XSC | lolcat"); cout << "\neXtremelySimpleCalculator usage:\n" << "`xsc --help | -h` for help\n" - << "`xsc <(+|-|*|/|%|^)> ` for mathematical operation\n" + << "`xsc <(+|-|x|/|%|^)> ` for mathematical operation\n" << "`xsc -sqrt | -r ` for square root operation\n" << "\n[n!] `xsc` doesn't support mathematical expressions (to-do)\n"; } @@ -46,7 +46,7 @@ int main(int argc, char* argv[]) { else if (op == "-") { result = num1 - num2; } - else if (op == "*") { + else if (op == "x") { result = num1 * num2; } else if (op == "/") { -- cgit v1.3.1