Hi, i've just made a Fortune teller using java, my task now is to write the pseudo code for the code.
i'm a bit confused about how you do it, do i just write out the program but only with the statements in code?
I'm not asking for someone to do my work for me obviously, could i be shown an example of pseudo code taken from my code?

here is my code:

import java.util.Scanner;


public class NewClass {
public static void main(String[] args) {
String[] Outcome = new String[11];
Outcome[0] = "Idiot";
Outcome[1] = "You will find love today";
Outcome[2] = "You will be killed in a horrific way today";
Outcome[3] = "Someone will be watching you today";
Outcome[4] = "You will lose everything you own today";
Outcome[5] = "You will find something of value today";
Outcome[6] = "You will be attacked by a dog today";
Outcome[7] = "You will have luck on your side today";
Outcome[8] = "Unlucky day today";
Outcome[9] = "You will be promoted today";
Outcome[10] = "You will get fired today";

Scanner fortune = new Scanner(System.in);

System.out.println("Enter a number from 1-10");
int number = Integer.parseInt(fortune.nextLine());


int sum = number;


while (sum >= Outcome.length) {
sum = Outcome.length;
}

System.out.println("Your fortune: " + Outcome[sum]);
}

}

Thanks, Emiel