- 0
Java hw help please
Asked by
The Real Napster,
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By olympus1 · Posted
No, Statcounter can detect browsers even if they use Chrome's user agent. For example Brave which uses Chrome's user agent is detected with window.navigator.brave it adds in every HTML it loads. Brave adds it in order to be detected from sites which serve ads from Brave's ad company though Brave Rewards. -
By olympus1 · Posted
No, StatCounter can find out the browser even if it uses Chrome's user agent. Even browsers which use Chrome's user agent like Brave can be found. Brave can be found with the window.navigator.brave it adds in every HTML it loads. Brave adds it in order to be detected from sites which serve ads from Brave's ad company though Brave Rewards. -
By LiLmEgZ · Posted
I give it Zero Days -
By Copernic · Posted
HomeBank 5.10.1 by Razvan Serea HomeBank is a free software (as in "free speech" and also as in "free beer") that will assist you to manage your personal accounting. It is designed to easy to use and be able to analyse your personal finance and budget in detail using powerful filtering tools and beautiful charts. If you are looking for a completely free and easy application to manage your personal accounting, budget, finance then HomeBank should be the software of choice. HomeBank also benefits of more than 19 years of user experience and feedback, and is translated by its users in around 56 languages. Highlights: Cross platform, supports GNU/Linux, Microsoft Windows, Mac OS X Import easily from Intuit Quicken, Microsoft Money or other software Import bank account statements (OFX, QIF, CSV, QFX) Duplicate transaction detection Automatic cheque numbering Various account types : Bank, Cash, Asset, Credit card, Liability Scheduled transaction Category split Internal transfer Month/Annual budget Dynamic powerful reports with charts Automatic category/payee assignment Vehicule cost HomeBank 5.10.1 changelog: change: the input field helper icon + fixed some spacing inconsistency change: transaction, added some missing input tooltips and reworked existing change: category, payee and tag window add input now have a tooltip and button change: split window, refactored the layout change: split window, add display of memo and date wish : #2106800 budget report option to exclude transfers from unbudgeted line bugfix: prevent deletion of non pending transaction when rejecting bugfix: transaction warning for no rate faultly showing in transfer bugfix: report missing space for filter tooltip icon bugfix: budget report missing filter tooltip bugfix: manage account closed icon was hidding budget icon bugfix: #2154771 view transcations requires hitting Escape or X twice to close dialog bugfix: #2154337 transfer to/from closed account with different currency don't show the amount bugfix: #2154234 scheduled transaction recurring pattern daily value limited to 100 bugfix: #2149897 view split for closed accounts bugfix: #2148561 global time chart do not shows current period by default bugfix: #2148456 the main screen Total Chart is no longer showing an overall total bugfix: #2147497 editing a transaction resets scroll position bugfix: #2147377 balance mixup with transaction same day sort by amount bugfix: #2147052 quarter are wrong when fiscal year is jan 1 bugfix: #2147048 all events for the month are late but today is only the 1st bugfix: #2144993 impossible to search for transactions by value for values >999,99 bugfix: #2144698 adding new Category/Payee/Tags requires hitting -Enter- bugfix: #2144419 QIF Account name detection fail on import bugfix: #2142349 can't delete account groups bugfix: #2139409 account maximum limit is not fully used (example credit card) bugfix: #2133783 transfers shouldn't add to dashboard top spending reports Download: HomeBank 5.10.1 | 20.5 MB (Open Source) Download: 3rd party packages (macOSX. Ubuntu...etc) View: HomeBank Website | Support | Features | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware -
By naap51stang · Posted
Same, price was right for my Home, laptop, phone. Works great!
-
-
Recent Achievements
-
Primer1st earned a badge
One Year In
-
JayZJay went up a rank
Experienced
-
Sir_Timbit earned a badge
Reacting Well
-
rubentuben8 earned a badge
Week One Done
-
ARaclen earned a badge
Week One Done
-
-
Popular Contributors
-
Tell a friend
Question
The Real Napster
Need help writing a code that reads a file, gathers the tokens, and then gives the user back an awnser based on the information from the tokens. In this case the tokens are names and test scores and the out puts are names and final grades. They are to all be displayed at once and it does not have to use any popup windows. Below are the teachers hw asignment and a piece of program he gave us to get started with
""Homework-2
You do not need to send me your input file. Your program should work with my input file named hw2.txt.
Write a java program FirstnameLastnameHw2.java that reads student info from an external file with the following data, and displays the grades as displayed below.
Input file hw2.txt (be aware of copy/paste issue). Add a record with your own name (and some numbers).
Max Batman 73 83 93 20 20 20 18
Jim Harper 76 88 68 15 20 20 20
Joanna Karr 62 92 91 12 20 20 18
Sue Hammond 75 88 78 20 0 20 20
Mickie Foxx 65 77 91 12 0 0 20
Sue Sirmons 98 52 94 20 20 20 0
Jacqueline Savannah 98 87 99 0 20 20 20
your name . . . .
There are three test scores, out of 100 each, worth 60% and four homework scores, out of 20 each, worth 40% of grade.
Apply 90%, 80%, 70% and 60% (standard) cutoff levels for letter grade computation.
Example output (grades/averages are not accurate):
Student Names Average Letter Grades
--------------------------------------------
Batman, Max 87 B
Harper, Jim 73 C
Karr, Joanna 78 C
Hammond, Sue 82 B
Foxx, Mickie 53 F
Sirmons, Sue 93 A
Savannah, Jacqueline 94 A
Your name .. ..
--------------------------------------------""
""import java.util.scanner;
import java.io.*;
public class FileReader
{ public static void main(String[] args) throws Exception
{ File file1 = new File("hw2.txt"); // finds file
Scanner inFile = new Scanner(file1); // reads file
while (inFile.hasNext())
{ String line = inFile.nextLine();
System.out.println(line);
}
}
}""
Link to comment
https://www.neowin.net/forum/topic/1133234-java-hw-help-please/Share on other sites
6 answers to this question
Recommended Posts