Find Jobs
Hire Freelancers

A Simple Java Program

$30 USD

完了済み
投稿日: 12年以上前

$30 USD

完了時にお支払い
Write a program that prompts the user to enter the name of an input text file. If the file cannot be open, the program prints an error message and exits. Otherwise, the program prompts the user for the name of the output file. If the output file cannot be opened, the program prints an error message and exits. Otherwise the program processes every line of the input file as follows. If the input line has two strings like Pepe Garcia the program writes the line P. Garcia on the output page. If the input line does not have 2 words ( it may be 0, 1, 3, or more) the program prints the contents of the line on the [login to view URL] file and states that this file does not have the format word1 word2. This file reads a file of names of the form FirstName LastNames It copies the initial of the first name and the last name on the output file as shown below. FirstNameInitial. LastName If the input line does not have 2 words, it is displayed on the monitor as an error. Use the provided files to test the program.
プロジェクト ID: 1273220

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 12年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Please check PMB.
$30 USD 0日以内
4.9 (34 レビュー)
4.7
4.7

クライアントについて

UNITED STATESのフラグ
Immokalee, United States
4.9
9
お支払い方法確認済み
メンバー登録日:4月 4, 2011

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。