Thanks, the videos help make sense and understand the code logic
how would you skip the 13th floor
How do I use the import java.util.scanner feature in place of what you have used in the video?
What Java IDE Application do you use ? I use Net Beans and it doesn't have the compile and other features I see you use for your tutorials here ?
I need help creating a loop where i can enter a series of date and display them in a file. This is what i have so far String input; String name = ""; int absences = 0 ; int listofAbsences = 0; name = JOptionPane.showInputDialog("Enter the student's name"); while (absences < 0) input = JOptionPane.showInputDialog("How many days " + name + " was absent."); absences = Integer.parseInt(input); input = JOptionPane.showInputDialog ("List the number of days " + name + " was absent."); listofAbsences = Integer.parseInt(input); FileWriter file = new FileWriter ("Chapter4.txt"); if (absences > 4) { JOptionPane.showMessageDialog (null, name + " must go to summer school to make up the absences."); PrintWriter pw = new PrintWriter(file); pw.println (name); pw.println (name + " has missed " + absences); pw.println (name + " has to go to summer school and make up the days."); } else{ JOptionPane.showMessageDialog (null, name + " has only missed " + absences + ", he does not need to go to summer school."); PrintWriter pw = new PrintWriter (file); pw.println (name); pw.println (name + " has missed " + absences); pw.println (name + " does not have to go to summer school."); } file.close(); } }
How can someone reach you for more JAVA and Python help ?
hi , do you have the same program in python?
@brianlove1453