you are to write a Java program that asks the user to enter
the following 4 numbers one at a time: 4.34 , 2.39, 1.34 0.9. Thereafter
the is to print all the numbers back onto the screen followed by the
average of the four numbers. Finally it should print the maximum number
amongst them.

is this your homework?..,

shouldn't take you more than 10 minutes or so. In fact signing up for an account here, dumping your assignment, and twiddling your thumbs waiting for someone to do it for you is going to take longer than telling your teacher you're too lazy to do it yourself and please give you a failing grade.

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

You can start by looking at data types, and Scanner class used for interactions with users. If you have further questions, don't hesitate to ask. Would by nice to show what you have done so far

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.