Answered step by step
Verified Expert Solution
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.
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 belowStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started