From e1f27f9ec427df459c437ee8937b7ca8c29562e1 Mon Sep 17 00:00:00 2001 From: 101zh <67253838+101zh@users.noreply.github.com> Date: Wed, 15 Nov 2023 20:39:15 +0000 Subject: [PATCH] feat(.gitignore): Add CurrentAssignmentDetails.md - delete a.txt --- .gitignore | 5 ++++- a.txt | 16 ---------------- 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 a.txt diff --git a/.gitignore b/.gitignore index 40f3821..651df6c 100644 --- a/.gitignore +++ b/.gitignore @@ -333,4 +333,7 @@ ASALocalRun/ *.DS_Store -target \ No newline at end of file +target + +# not needed +CurrentAssignmentDetails.md diff --git a/a.txt b/a.txt deleted file mode 100644 index becfa7a..0000000 --- a/a.txt +++ /dev/null @@ -1,16 +0,0 @@ -Write a program which calculates the difference between two doubles which are entered by the user, then round the difference to the nearest integer. The answer should be a positive integer regardless of the order in which the doubles are entered. - -Hint: The Math.round() function can be used to round a double value to the nearest integer. - -Sample run 1: - -Enter two doubles: ->2.2 ->9.6 -Difference: 7 -Sample run 2: - -Enter two integers: ->-4.5 ->12.56 -Difference: 17 \ No newline at end of file