java - type mismatch: cannot convert from int to boolean in lotto program -
i trying make lotto java program. prompt user input number , generate random number , if number matches, win i'm getting "type mismatch: cannot convert int boolean." here's have far. thank help! note i'm new java import java.util.scanner; import java.util.random; public class lottery { public static void main (string [] args) { scanner input=new scanner(system.in); system.out.println("please enter number"); random randomnumber=new random(); system.out.println(" random number "+65); system.out.println("lotto number "+randomnumber.nextint(10)+1); if(65) system.out.println("you win 20000"); else sytem.out.println("no winner"); if(56) system.out.println("you win 10000"); else system.out.println("no winner"); if(6||5) system.out.println("you win 5000"); else system.out.println("no winner");...