Write a program that will read the file, Address.txt, which I have provided. It contains names and numbers with no spaces between. Write the same data to a new file with the numbers right justified in 12 spaces and with 3 decimals.

(file):
Pete Moss25.33
Sara Bellum78.45
Harry Legg 76
Les Ismoore34.5
April Showers109
June Meadows87.345
Mae Flowers68.5
Guy Wire56
Chris Craft66.335
Slim Pickens115.25

Recommended Answers

All 4 Replies

this is what i have so far no working too well

read the posting guidelines and next time start earlier on your assignments.

Just to add further to what people have already said, don't put emphasis on your thread just because it's urgent to you. Other people's topics have more urgency than yours by default, because they've simply been here before you. Trying to state that your thread is more urgent than anyone else's here is just plain rude.

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.