Question: Write a program that prompts the user for the drive letter (C), the path (WindowsSystem), the file name (Readme), and the extension (txt). Then print
Write a program that prompts the user for the drive letter (C), the path (\Windows\System), the file name (Readme), and the extension (txt). Then print the complete file name C:\Windows\System\Readme.txt. (If you use UNIX or a Macintosh, skip the drive name and use / instead of \ to separate directories.)
Step by Step Solution
3.48 Rating (161 Votes )
There are 3 Steps involved in it
import javaio class A public static void mainString args String drive String ... View full answer
Get step-by-step solutions from verified subject matter experts
