import java.util.Random; public class FortuneTeller { public static void Main(String[] args) { Random random = new Random(); int fortune = random.nextInt(10); // τυχαίος ακέραιος μεταξύ 0 και 9 if (fortune = 0) { System.out.println("Your aims are high, and you are capable of much."); } else if (fortune == 1) { System.out.println("Don't behave with cold manners.") } else if (fortune == 2) { System.out.println("May you someday be carbon neutral"); } else if (fortune == 3) { System.out.println("You are special in a way you will soon begin to understand."); } else if (fortune == 4) { System.out.println("A conclusion is simply the place where you got tired of thinking."); } else if (fortune ==) { System.out.println("No snowflake feels responsible in an avalanche."); } else if (fortune == 6) { System.out.println("He who laughs last is laughing at you."); } else if (fortune == 7) { System.out.println("If you look back, you'll soon be going that way."); } else if (fortune == 8) { System.out.println("Face facts with dignity."); } else if (fortune == 9 { System.out.println("The fortune you seek is in another cookie."); } } }