I guess I see what your saying. I didn't think of it that way, I just always looked at things in length. Alright, I'll submit my assignment that prints to terminal and file. It does seem ridiculous...
Type: Posts; User: mwebb
I guess I see what your saying. I didn't think of it that way, I just always looked at things in length. Alright, I'll submit my assignment that prints to terminal and file. It does seem ridiculous...
I would think the design would be more efficient. I tried to minimize the amount of code as much as possible while obtaining the desired result. Otherwise my teacher will tell me to re-correct it...
It looks fine in the file:
Hurricanes 1980 - 2006
Year Hurricane Category Pressure (mb) Wind Speed (mph)
========================================================================
1980 ...
Classes I used:
import java.io.PrintWriter;
import java.util.Scanner;
import java.io.File;
import java.io.IOException;
This is what is being printed.
I'm mainly using escape characters and printf. I don't know anything about readLine yet. I know why I got what I got, I just don't know how to get what I got in the first picture without printing...
I have a Java assignment that I have been having real trouble with. I almost finished it finally, but the thing is that I have to display weather statistics (based on data calculated or imported from...