/* Written by:Kishan Chaudhary
Name of project:
*/
#include <stdio.h>
int main(void) {
int num;
int result;
printf(“Enter integer/t”);
scanf("%d",num);
result=num/10;
printf(“Result is: %d”,result);
return 0;
}
/* Written by:Kishan Chaudhary
Name of project:
*/
#include <stdio.h>
int main(void) {
int num;
int result;
printf(“Enter integer/t”);
scanf("%d",num);
result=num/10;
printf(“Result is: %d”,result);
return 0;
}
Change scanf("%d",num) to scanf("%d",&num),your problem will be solved
And i was wondering what was the point of this question.