it works it can already write the data to the text file but I still don't know how to make the program read the text file
Type: Posts; User: jmdcy
it works it can already write the data to the text file but I still don't know how to make the program read the text file
Only one user. I need the full name of the use. I just need the program to be able to read after it writes
it writes what ever I input in the text file but there are no spaces between them and I still need to read the text file after it writes the data in the text file
here is what I have so far
import java.io.FileOutputStream;
import java.util.*;
public class IOData {
public static Scanner input = new Scanner(System.in);
public static void...
well first is that it should ask the user the details which are name, age, year level in college, program taking in college. then after it should create a text file in which the data is saved then...
i didn't start anything yet. But I would want to see how you would code if you were given the problem.
Hi can anyone please help me make a code for my programming class and at the same time help explain what are the codes and all thanks here is the problem
Create a program that would accept...
[CODE]
import java.util.InputMismatchException;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class GUIarea extends JFrame {
private JLabel inputradiusc,...
if I input an invalid character on the first text field it should display "Invalid" on the botton after "Area of a circle" but it works fine if I place an invalid character on the 2nd 3rd and 4th...
PLEASE HELP ME WITH MY CODE. WHENEVER I INPUT AN INVALID CHARACTER IN THE FIRST TEXT FIELD, THE WHOLE PROGRAM JUST FREEZES. BUT IF I PUT AN INVALID CHARACTER ON THE OTHER TEXT FIELDS IT WORKS JUST...