Java Program to find whether the last digit of given number is divisible by 3

Description

Get a number num and check whether last digit of num is divisible by three.
Input:
27
Output:
last digit not Divisible by 3
Input:
43
Output:
last digit divisible by 3

Solution

Unable to open file!