aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk1/lab1/strap012_lab1_w_0.cpp
blob: 2ea91342d52cb5a1f35ccf0302adbae8b959039c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
using namespace std;

int main()
{
   int students;
   int section;
    cout << "Number of students: ";
    cin >> students;
    cout << "Number of sections: ";
    cin >> section;
    cout << "The lecture to lab ratio is " << students/section << ":1." << endl;
}