Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. for (int i = 0; i < ll; i++) {
  2. System.out.println("Write the term of the flashcard number " + i + 1 + ".");
  3. Scanner t = new Scanner(System.in);
  4. fclist[i].new Flashcard(term, definition);
  5. if (!t.toString().equals("")) {
  6.  
  7. fclist[i].setTerm(t.nextLine());
  8. }
  9.  
  10. System.out.println("Write the definition of the flashcard number " + i + 1 + ".");
  11. Scanner de = new Scanner(System.in);
  12. if (!de.toString().equals(""))
  13. fclist[i].setDefinition(de.nextLine());
  14. bw.write(fclist[i].getTerm() + "\t" + fclist[i].getDefinition() + "\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement