i am having a hard time writing programs that can read from a text file it should read beginning balance, number of transactions and description and amount after each but i am having trouble

ex : sample input
beginning balance=260.80
number of transactions =4
transactions:
check-mallsounds -31.98
check-Atlantic 127.04
deposit- work 25.00
check-boskovs -65.70
output
checkmallsounds 31.98 228.82

i am not asking for someone to write the code for me as i want to learn how to do this myself but perhaps someone can give me a boost in terms of the code for initiating the read from and output to text file part

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.