We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f51fb commit 786bdc1Copy full SHA for 786bdc1
problem4/problem.md
@@ -0,0 +1,21 @@
1
+
2
3
4
+Sarah’s mother is teaching her mathematics. She gave Sarah a number and asked her what the
5
+remainder would be if she divided the number by 5. Help Sarah write the program.
6
+Input:
7
+The first line of the input contains the number.
8
+Output:
9
+Print the remainder.
10
11
+Practice Problem 4
12
13
+Sample Input:
14
+119
15
16
17
+4
18
19
20
21
+[Source: https://drive.google.com/drive/u/1/folders/1FbntkDTYNA33BuiqJ9TVF9-YWlqvhZch](https://drive.google.com/drive/u/1/folders/1FbntkDTYNA33BuiqJ9TVF9-YWlqvhZch)
problem4/problem4.js
@@ -0,0 +1,7 @@
+var sharahsNum = 119 ;
+var haveToDivideWith = 5 ;
+var remiderOfTheNum = 119 % 5 ;
+console.log(remiderOfTheNum);
0 commit comments