2 Replies - 609 Views - Last Post: 19 March 2009 - 03:04 PM Rate Topic: -----

#1 mike3  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-March 09

Code request about opening files

Post icon  Posted 19 March 2009 - 01:33 AM

how to Write a program that asks the user for the names of two files. The first file should be opened for reading and the second file should be opened for writing.
The program should read the contents of the first file, and change all characters to uppercase, and store the results in the second file.
The second file will be a copy of the first file, except that all the characters will be in uppercase.

This post has been edited by pbl: 19 March 2009 - 03:05 PM

Is This A Good Question/Topic? 0
  • +

Replies To: Code request about opening files

#2 zukker  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 22
  • Joined: 10-July 08

Re: Code request about opening files

Posted 19 March 2009 - 02:07 AM

View Postmike3, on 19 Mar, 2009 - 12:33 AM, said:

how to Write a program that asks the user for the names of two files. The first file should be opened for reading and the second file should be opened for writing.
The program should read the contents of the first file, and change all characters to uppercase, and store the results in the second file.
The second file will be a copy of the first file, except that all the characters will be in uppercase.



and what have you got so far? We're not here to write you assignments for you. But if you post your progress within
code goes here
tags we'll be happy assist you.
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8328
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: Code request about opening files

Posted 19 March 2009 - 03:04 PM

Naming a topic "Java" in a Java forum is kind of useless
Topic renamed
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1