Java Programming Homework
Posted
by
user1427476
on Stack Overflow
See other posts from Stack Overflow
or by user1427476
Published on 2012-05-31T04:31:42Z
Indexed on
2012/05/31
4:40 UTC
Read the original article
Hit count: 250
Write a program to read in a file containing the names of the employ of a company and store them in an array of Strings named Employ []. Read another file containing the Salaries of each employ written in the same order and store them in another array of integers named salary[] (contents of both files are shown below). Finally create a file stating for example. Mr. XYZ receive $75,500.00 per year (Note that salary is stored as integer but displayed here as double with a comma separating thousands. This formatting needs to be done using DecimalFormat Class)
© Stack Overflow or respective owner