C program to find the occurrence of a digit in a number
Answers
Answered by
0
Answer:
#include <stdio.h>
#include <stdlib.h>
int main()
{ long num;
int digit,rem,count=0;
printf("Enter the Number: ");
scanf("%ld",&num);
printf("Enter the digit to be counted:"); scanf("%d",&digit);
Similar questions