Computer Science, asked by yamuna2709, 3 months ago


a. Identify and fix the syntax and semantic errors in the given program
without changing the logic of the program.
#include <stdio.h>
int main()
{
int n;
int count = = 0;
print ("Enter an integer: ");
scanf("%d" &n);
while (n != 0)
{
n =n/10;
++count;
}
printf ("Number of digits: %c", count);
}​

Answers

Answered by jegatha55
0

Answer:

the answer of this question is that number of this count has been given to the United nations

Similar questions