Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programe Lo siguiente: Asuma que los datos esta en archivo Data - 4 9 . TXT y Data - 5 0 txt 4 9 .

Programe Lo siguiente: Asuma que los datos esta en archivo "Data-49.TXT y Data-50 txt
49. Table 3.4 summarizes the month's activity of three checking accounts. Write a program that displays the account number and the end-of-month balance for each account and then displays the total amount of money in the three accounts. Assume the data are stored in a text file.
\table[[Account,\table[[Beginning-],[of-Month],[Balance]],Deposits,Withdrawals],[Number,,,],[AB4057,1234.56,345.67,],[XY4321,789.00,120.00,350.00],[GH2222,321.45,143.65,0.00]]
Table 3.4 Checking-account activity:
50. Table 3.5 contains a list of colleges with their student enrollments and faculty sizes. Write a program to display the names of the colleges and their student/faculty ratios, and the ratio for the total collection of students and faculty. Assume the data for the colleges are stored in a text file.
\table[[,Enrollment,Faculty],[Ohio State,48477,3526],[Univ. of MD, College Park,34160,2136],[Princeton,6668,961]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions