Step-by-step explanation:
#include <studio.h>
main()
{
int N, K;
printf("number of students N : ");
scanf ("%d", &N);
printf("Total number of Apples K: ");
scanf("%d", &K);
printf("Apples per student: %d\\", N/K);
printf("Remainder : %d\\", N%K);
}
9.4m questions
12.2m answers