No worries, I managed to figure it out ! :)
Type: Posts; User: kassavetova
No worries, I managed to figure it out ! :)
thank you. Have found a solution, not sure why I never thought of this before!
for (int i=1; i<=Integer.parseInt(args[0]); i++)
{
if (i%15==0)
Hello,
I was trying to write a program that checks if any of the numbers that the user inputs are divisible by 3 5 or both. If the number is divisible by 3 it prints out "Fizz", if divisible by 5...