Computer Science, asked by mdrashmi56, 1 month ago

write a program to count the number of digits in the given number ​

Answers

Answered by jsplskhn
0

Answer:

We will create a C program to count the number of digits using functions.

  • #include <stdio.h>
  • int main()
  • {
  • int num; // variable declaration.
  • int count=0; // variable declaration.
  • printf("Enter a number");
  • scanf("%d",&num)
  • count=func(num)
Similar questions