Java write a program that prompt user to insert his/her Salaries for the past three months and print "in a text file" there Salaries, and the average. The output should be appeard as shown :   Enter your salaries for the three past monthes:    1000 2000 3000       and the txt file look like this :    month 1 salary is 1000    month 2 salary is 2000    month 3 salary is 3000    the average of your salary for is = 2000

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

Java

write a program that prompt user to insert his/her Salaries for the past three months and print "in a text file" there Salaries, and the average. The output should be appeard as shown :
  Enter your salaries for the three past monthes:
   1000 2000 3000
   
  and the txt file look like this :
   month 1 salary is 1000
   month 2 salary is 2000
   month 3 salary is 3000
   the average of your salary for is = 2000

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT