Purchase Solution

Program for Displaying Ratios

Not what you're looking for?

Ask Custom Question

I have data that contains a list of colleges with their student enrollments and faculty sizes. I am asked to 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 that the data for the colleges are stored in a text file. Here is the data:

Enrollment Faculty
Ohio State 50721 3657

Univ. of MD 35262 2087

Princeton 6849 1015.

Purchase this Solution

Solution Summary

This solution provides a program for displaying ratios.

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.