This question is closed. Reopen it to edit or answer.
Testing for an Integer and displaying that value.
10 views (last 30 days)
This is my task:
Write a program that accepts three parameters “lower_limit”, “upper_limit” and “factor”. The program should display all the numbers between “lower_limit” and “upper_limit” that are evenly divisible by “factor”
So I've been doing heaps of research as to why this isn't working and i've tried many different methods but I just cannot get this to work. It seems liek it should work! I've tried the mod(y,1) function. Everything. Please help. I've already tried something like this
So that wasn't working and I just needed to have something to turn into my teacher so the following is what I've turned in:
if rem(y,1) == 0;
Any help is GREATLY appreciated. This assignment is due in 30 minutes but i would still like to know why it's not working.