From 65bf522c1fdc8d2602f53d45b21f06f1e1197c82 Mon Sep 17 00:00:00 2001 From: Sean Evpak Date: Mon, 8 Sep 2025 11:35:38 -0700 Subject: [PATCH 1/2] Changed teh output format to display full math operations. Closes #62 --- main.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/main.cpp b/main.cpp index 958ba61..79e02aa 100644 --- a/main.cpp +++ b/main.cpp @@ -12,13 +12,14 @@ int main() int x,y; cin >> x >> y; - cout << "Addition: " << x + y << endl; - cout << "Subtraction: " << x - y << endl; - cout << "Multiplication: " << x * y << endl; - cout << "Division: " << x / y << endl; - cout << "Remainder: " << x % y << endl; - cout << "Square Root: " << sqrt(x) << endl; - cout << "Square: " << pow(x, y) << endl; + cout << x << "+" << y << "=" << x + y << endl; + cout << x << "-" << y << "=" << x - y << endl; + cout << x << "*" << y << "=" << x * y << endl; + cout << x << "/" << y << "=" << x / y; + cout << "with remainder of " << x % y << endl; + cout << "Square root of " << x << " is " << sqrt(x) << endl; + cout << "Square root of " << y << " is " << sqrt(y) << endl; + cout << x << "^" << y << "=" << pow(x, y) << endl; return 0; } From 3f72d8b1b65f27dde3e769909506b48b1ea867dd Mon Sep 17 00:00:00 2001 From: Sean Evpak Date: Wed, 17 Sep 2025 11:40:15 -0700 Subject: [PATCH 2/2] added yml --- .DS_Store | Bin 0 -> 6148 bytes .github/.DS_Store | Bin 0 -> 6148 bytes .github/workflows/actions.yml | 23 +++++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 .DS_Store create mode 100644 .github/.DS_Store create mode 100644 .github/workflows/actions.yml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4c30307eab95f16c15938f2d371a9c8aad2be66f GIT binary patch literal 6148 zcmeHK%}*0S6n_tkY(Zp!@*zgk*oy~5h=GuJuojF#Ngx!kh+22sp{y)3b$3faLei_A zjA#D<&wB9c#ecwqClkGS_3BCA%ua#Uk8m0c3`7k4-3-XJ8-o!jfdfI~`o(i(8~LV0 z7137rgLSBY-Q@l3_uh8ZFYCSGwOw`{KNuZ-k1fYyt;gGpHlxG1n_U;xY+wZyKVx~T zaPX#zdMlN@5IlL&U8ByUyU&UragAq64d2?WQcVcun zIX<>GoZKC|G%+@uoE#tB+lw20sf(8v@*D0Z7mrnufV7n<>C{+B#rO97ro==!Jn__ZzUCUU@*zgENiQBy+879l2W!C?lmtQx76I#SJFP3rOx@kKAR*~h zPyPY^0p2}$_2NI^!IO#Jyn6MdZ)RuZtKN(evoD$Xy`A?l`+l35*#Q8OYg94-Isjmb4|+6n1WBQZoGb5y|r4lVHJofF>CK*T`Az`w?TSi5mtu^e33f5rtVJ9g%5kJh90X`A`Syp{J&zv1OfcU?Rc zICrd2H?38hwn}<(mNVb98FgiVU7_f*ao=VY-pcU?t9UXt9~iW_7BA_edwbLA31cd= zKVj@;u1{wsjG3wQ{(f8=PEFoeE^Rs6j6avJ4g|LD(rGo6-GXVg?-is z!_wltedqem59ou5p=4q>F*1@I86CSYesTO#NguMz@>b0iFFng0?&h2ZE!t(y^7b=Y z^y!W-l#-q}=C@2M4-bY4yLI$Q9t_A_cU(%@dd;;fi`A+}{o)~g?SZ*d_?3OYE4$or zmbhp8HfL)a9#TK=)9raypT6WL={8~L=6042E_hgU=x^C*bY!` z9oWe$0HXMfkb=7SVGuEf!mPq}fM`J>K`3GnO4JpD1mQStD8H=2c7Q=R5IHmEQ8N>D zLm_f@95