Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/flashcards/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

public class Main {
public static void main(String[] args) {
System.out.print("Hello world!");
cards.mainMenu();
}
}
49 changes: 49 additions & 0 deletions src/flashcards/cards.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package flashcards;

import java.util.*;

public class cards {
//main subroutine for choosing menu items
protected static void mainMenu(){
Scanner scan = new Scanner(System.in);
System.out.print("Input the action (add, remove, import, export, ask, exit): ");
String menuChoice = scan.nextLine();
switch (menuChoice){
case "add":
break;
case "remove":
break;
case "import":
break;
case "export":
break;
case "ask":
break;
case "exit":
exit();
break;
}
}
//subroutine for adding cards
protected static void addCard(){

}
//subroutine for removing cards
protected static void removeCard(){
}
//subroutine for import
protected static void importCard(){
}
//subroutine for export
protected static void exportCard(){
}
//subroutine for asking user
protected static void askCard(){
}
//exit subroutine
protected static void exit(){
System.out.println("Bye bye!");
System.exit(0);
}

}