
Code:
#include<stdio.h> int main(){ int n,t,cal=0, call; printf("Enter the number of students in the class\n"); scanf("%d",&n); printf("Enter the number of teams\n"); scanf("%d",&t); cal=n/t; call=n%t; printf("The number of students in each team is %d and the number of students left out is %d",cal,call); return 0; }
No comments