Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help solving this in JAVA 1 import java.util.Scanner; 2 import java.io.FileInputStream; 3 import java.io.IOException; 4 5 public class LabProgram { 6 public static

i need help solving this in JAVA
image text in transcribed
image text in transcribed
1 import java.util.Scanner; 2 import java.io.FileInputStream; 3 import java.io.IOException; 4 5 public class LabProgram { 6 public static void main(String[args) throws IOException { Scanner scr = new Scanner(System.in); /* Type your code here. */ } 11 ) 8 9 10 12 Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below type input values in the first box, then click Run program and observe the program's outp second box Enter program input (optional) Partney . A photographer organizing a photo collection about the notion on the US and would like to annotate the Information abow each of the photos into a separate et optogtam that leads the name of a text file conting withote names. The program thened the photo renames Irom the text file, replaces the photo portion of the file names with and outputs madede rames Assume the unchanged portion of the photo se name and numbers and the text file stores one photo file name per her the text file is empty the program od Ex the input of the programis Park Photos and the contents of Park Photos are Acad2003 photos Americans 1992 Photo BlackCanyonotthogunnhoud Carlsbadgaven 2010 photos Cratecake1996 / photo Grandcanyon 1996 Photo 9 Indsansane 1987 photos Lake TK2009 photos Redwood1980 photos Virgin oland2007 photos Voyageura 2006 photos Wrangelt 1997 photo OP the output of the programs Roads 2003. American and 1989 ORE Backcany otheunion 93o.txt Carcaven 2010 no.txt Cratetta 1995 Anfo.txt Gradcanyon 1996 to.ext Indiannetto.txt Lak2009 into.txt Nadwood Inco.tk Virginialanda 2007 inroitat Voyager 2006 info.txt Wrangel1007 info.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions