Hi I made a program which integer divides a number by 50 and shows the mod of that number also but the compiler tells me that "value requires left operand of assignment" for"/" I'm not sure what to do. Here's the code:
#include <stdio.h>
int main()
{
int num;
int i;
int m;
printf("enter number: ");
scanf("%d", &num);
num / 50 = i;
num % 50 = m;
printf("the division is: %d\n", i);
printf("the remainder is: %d", m);
return(0); }