nevermind, i actually ended up figuring it out.
Heres what I ended with:
import java.util.Scanner;
public class Pg127 {
Type: Posts; User: ColeTrain
nevermind, i actually ended up figuring it out.
Heres what I ended with:
import java.util.Scanner;
public class Pg127 {
heres what i have so far... dont have the divisibility equation yet.
import java.util.Scanner;
public class Pg127 {
public static void main(String[] args) {
//Input...
well actually it doesnt have to be boolean i realized. I have no idea how to see if a number is divisible by another, so help needed there. But as for the data type i just need one that states true...
i am making a program to see if a number is divisible by 5 and/or 6. how do i do this using a boolean? the user inputs and int and then i calculate it and tell them true and/or false. thanks