From 48254d827e42a15674bc1a7a4d38507d8af21da3 Mon Sep 17 00:00:00 2001 From: Mayank Banerjee Date: Wed, 30 Oct 2024 21:14:06 +0530 Subject: [PATCH 1/2] Improved Documentation for armstrong.java --- Java/armstrong.class | Bin 0 -> 1289 bytes Java/armstrong.java | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 Java/armstrong.class diff --git a/Java/armstrong.class b/Java/armstrong.class new file mode 100644 index 0000000000000000000000000000000000000000..476821e2708666f3a1b9439e6851253f43b35e0f GIT binary patch literal 1289 zcmZux+foxj5IvJ@val}5#Xuwk1{F<26BR`;0Rca>~!~ZpL4ore*FIO9l#9cH3Se;q38%9%+Rr6 zJU7y1!z!g0S2je^We8_Y%XFt0f{Em^iWY`WKge^d@|70n= zs=1=V5HKx<$h?2jw9|R3>bV8i5k@7WK}CnG-^mb792t^aZbdgvsEFw3K`%q!oFkrj z!g7}!yW|*^TH0_bHP^AN64j~|8M^CEjgyuK-7XbLrUXI zWnt6=ziqj~;g(lfp~bcN?7Ap!@-^Gx(~Y7xxQ0P+6+=2s;WU+RFm1}qpjKs-vXo+< zs4q1MVOph3a#>0-tm7=sQLH6ix_OI0lJI#ANt{QCGPED|>4D*{Q%u!-l^(hNfyFL)JhuW?dIIAXOyz^w5}KAgI;rr|QKs2J6871#c0TF&-X%7P#~H_Dz^ zT$6Bf$-1CE;CcXcZV=aXjAMevg!HHwgf@EwvnNew>vNUaPe-%Rq)?^>8EURJ%vU+# zG!6yk3%>jsCNZVrro?=!F^N7TQc9GB!_bq+H$&aGQ|1|lfkx(q#fL{^XHaJCRU&?T z-n2x$;zPriLa7*Xf_oCpR1W&a&{lAb;^qUR>c^|d(+C_9%Agf&&nb#IQwrREFtsV! zPz=$O2k2r_n4EL^3(!B^O#05!E>0_>HFW+n*hfDwM_=hCBU*7AbM;Ubqft`H`XM-` zv`>V-LVdi0*3UTp30*sgcJ=RKU 0) { Reminder = Temp %10; Sum = Sum + Math.pow(Reminder, Times); Temp = Temp /10; - } + } System.out.format("\n Sum of entered number is = %.2f", Sum); + /* + * If the calculated value of 'Sum' is equal to the original number, then the number is + * Armstrong, otherwise it is not + */ if (Sum == Number) { System.out.format("\n% d is a Armstrong Number", Number); } From 09d735195d2c1b176b8a8f514455029280542131 Mon Sep 17 00:00:00 2001 From: Mayank Banerjee <150502424+coder-mayank22@users.noreply.github.com> Date: Wed, 30 Oct 2024 21:15:52 +0530 Subject: [PATCH 2/2] Delete Java/armstrong.class --- Java/armstrong.class | Bin 1289 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Java/armstrong.class diff --git a/Java/armstrong.class b/Java/armstrong.class deleted file mode 100644 index 476821e2708666f3a1b9439e6851253f43b35e0f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1289 zcmZux+foxj5IvJ@val}5#Xuwk1{F<26BR`;0Rca>~!~ZpL4ore*FIO9l#9cH3Se;q38%9%+Rr6 zJU7y1!z!g0S2je^We8_Y%XFt0f{Em^iWY`WKge^d@|70n= zs=1=V5HKx<$h?2jw9|R3>bV8i5k@7WK}CnG-^mb792t^aZbdgvsEFw3K`%q!oFkrj z!g7}!yW|*^TH0_bHP^AN64j~|8M^CEjgyuK-7XbLrUXI zWnt6=ziqj~;g(lfp~bcN?7Ap!@-^Gx(~Y7xxQ0P+6+=2s;WU+RFm1}qpjKs-vXo+< zs4q1MVOph3a#>0-tm7=sQLH6ix_OI0lJI#ANt{QCGPED|>4D*{Q%u!-l^(hNfyFL)JhuW?dIIAXOyz^w5}KAgI;rr|QKs2J6871#c0TF&-X%7P#~H_Dz^ zT$6Bf$-1CE;CcXcZV=aXjAMevg!HHwgf@EwvnNew>vNUaPe-%Rq)?^>8EURJ%vU+# zG!6yk3%>jsCNZVrro?=!F^N7TQc9GB!_bq+H$&aGQ|1|lfkx(q#fL{^XHaJCRU&?T z-n2x$;zPriLa7*Xf_oCpR1W&a&{lAb;^qUR>c^|d(+C_9%Agf&&nb#IQwrREFtsV! zPz=$O2k2r_n4EL^3(!B^O#05!E>0_>HFW+n*hfDwM_=hCBU*7AbM;Ubqft`H`XM-` zv`>V-LVdi0*3UTp30*sgcJ=RKU