Hi. Im making a flash cards program and need help with making graphics, making a menu, making it so that they can go back in and access the decks, and making it so i can give it o other people, and a few other things.
Here's my code:
import java.util.Scanner;
public class Main {
public static void main(String args[]){
// Title Display
System.out.println("FLC v0.5");
System.out.println();
// Deck Enter Area
System.out.println("Enter Deck Name");
Scanner deckscanner = new Scanner(System.in);
String deckname = deckscanner.nextLine();
System.out.println();
// Card Number Entry
System.out.println("Enter How Many Cards You Would Like");
Scanner cardnumscanner = new Scanner(System.in);
String cardnumstring = cardnumscanner.nextLine();
System.out.println();
System.out.println();
System.out.println();
// Converts cardnumstring to int (called cardnumint)
int cardnumint = Integer.parseInt(cardnumstring);
cardnumint = cardnumint + 1;
int counter = 1;
while (counter < cardnumint){
// Front of the card
System.out.println("Card #" + counter);
System.out.println("Front of Card");
Scanner frontcardscanner = new Scanner(System.in);
String frontcardstring = frontcardscanner.nextLine();
// Back of the card
System.out.println("Back of Card");
Scanner backcardscanner = new Scanner(System.in);
String backcardstring = backcardscanner.nextLine();
System.out.println();
System.out.println();
counter++;
}
}
}
(I left some personal notes in there)
Help is greatly appreciated.
Thanks!