- 0
Java hw help please
Asked by
The Real Napster,
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By Copernic · Posted
Movavi Video Editor Plus 26.17.0 by Razvan Serea With Movavi Video Editor Plus, you can either enhance your video files with two or three simple steps, or turn them into something completely new. Create your own movies using multiple filters, transitions, and special effects: show multiple videos on one screen with the Picture in picture effect or change the background with the Chroma Key effect, imitate the camera zoom or make your video look like an old-style movie. Adjust video parameters such as brightness, contrast and colors. Stabilize shaky footage, improve video quality and remove defects. Create video presentations, tutorials or educational videos: add titles and record your own narration to create a video with voiceover. Import video from any source: TV-tuner, webcam, camcorder, or VHS. Drop multiple media files onto a timeline and let your imagination do the rest! Features at a glance: Video and audio editing on a timeline Edit, enhance videos Add background music Apply titles and effects Image quality improvement Hollywood-worthy effects High-grade titles and fades Digitize VHS tapes, record video from TV tuners Stabilize any shaky sections Support for a wide range of formats Prepare your videos for uploading to YouTube, Facebook, Vimeo, or any other website New in Movavi Video Editor 2026: 30+ fresh subtitle styles. Upgrade your automatic captions with new designs. Customize your text in the Styles tab with a single click. Optional advanced settings are also available in the dedicated Design tab. Subtitles in English – instantly! Translate auto-subtitles into English with a click – no dictionaries or online services needed. Once translated, configure and fine-tune the subtitles using the standard editing tools. 40+ adjustable effects. Enhance your videos in a click with new realistic effects – from dust particles and light leaks to retro-style and VHS. Every effect is fully customizable – so it will fit any clip perfectly and bring an extra spark to your edits. Ultra-fast playback. Show more in less time with video speed control of up to 100x. Perfect for epic time-lapses, long process recaps, or whenever you want to add some extra energy to your content. Magnetic zones are marked with dots, and the 1x value is indicated by a vertical line. Silence removal – in a click. Cut out unwanted pauses automatically or fine-tune the pause length and volume threshold yourself. Skip the tedious cleanup and make your videos more dynamic. Fast effect copying. Effortlessly duplicate any effect from one video to another: click Clip effects in the dropdown menu and proceed to copy or paste. Movavi Video Editor Plus 26.17.0 changes: A new set of subtitle styles Check out the latest drop of ready-made subtitle styles with active word highlighting – fully designed and ready to use. Each one has its own vibe, so you can quickly find the perfect match for your video. Give them a spin and pick your favorite. Download: Movavi Video Editor Plus 26.17.0 | 2.7 MB (Shareware) View: Movavi Video Editor Plus Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware -
By LittleNeutrino · Posted
"New" Outlook has themes and colours and all sorts of visual customizations not just black and white. -
By +Edouard · Posted
What a bizarre statement. Why are you against users having choices? Are you against all extensions or just ad blocking? What about extensions to alter the W11 start menu to suit user preferences. Are you against those? -
By SnyPer456 · Posted
Honestly, I've been using the Lite version for a couple of months now, and it's been working well for me in my daily life. So much that I don't even miss the original version. -
By margrave · Posted
I use classic for reliability. Dark grey is vastly better than the all black or all white of new outlook.
-
-
Recent Achievements
-
skylerssviv earned a badge
Week One Done
-
mobmobiles earned a badge
One Month Later
-
Captain_Eric earned a badge
Very Popular
-
amusc earned a badge
One Month Later
-
DJC50PLUS earned a badge
One Month Later
-
-
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