A=B
Not enough ratings
Is it divisible by 7
   
Award
Favorite
Favorited
Unfavorite
Tags: level
File Size
Posted
32.684 KB
18 Oct, 2024 @ 1:35pm
1 Change Note ( view )

Subscribe to download
Is it divisible by 7

Description
Input: a number between 1 and 999.
Output: return true if divisible by 7, false otherwise.
Constraint: 1 <= Input length <= 3
1 Comments
カズエイ 12 Apr @ 10:05pm 
13 lines (/ 0 lines)

.......=
.7=7...
1=7.
2=7..
3=7...
4=7....
5=7.....
6=7......
8=7.
9=7..
.0=7...
.=(return)false
=(return)true