Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

At a certain school, in December 2013, there were 6 teachers and 200 students. In January 2014, one teacher and 35 students joined the school.

At a certain school, in December 2013, there were 6 teachers and 200 students. In January 2014, one teacher and 35 students joined the school. No one left the school. Write a program to compare the teachers-students ratio in December 2013 and the teachers-students ratio in January 2014 and return the largest ratio. You don't need to read anything from the user. Use variables to hold the corresponding values. image text in transcribed

int main() { // teachers and students in December 2013 int Teachers_13 = 6; int Students_13 = 200; 1/ teachers and students in January 2014 // You have to figure out how many teachers and students in January 2014. Please fill your answer below. int Teachers_14=7; int Students_14=235; // compare between the teachers-students ratio in December 2013 //and the teachers-students ratio in January 2014 and return the largest ratio. // write your code below

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

Did Tollisons firm treat him fairly? Why or why not?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago