PFP191_-_PE_-_SP_2024_1487.webp
vast_ocean

PFP191_-_PE_-_SP_2024_1487.webp

3
OUTPUT
18
Question 2 (3 points)
Write a program that calculates the actual amount of a bank account based on the transaction log entered from a file. The log format is displayed as follows:
D 200, D 300, W 400, W 600
(D is deposit, W is withdrawal).
1. Read the file and print the content of the file. (1points)
The output should be:
Your selection (1 -> 2):
1
data.txt
OUTPUT
D 200. D 300. W 400. W 600
+ 95%
Zoom

Close

Thông tin

Category
PFP191
Thêm bởi
vast_ocean
Ngày thêm
Lượt xem
3,415
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PFP191_-_PE_-_SP_2024_1487.webp
File size
142.9 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom