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
0
Answer:
the answer of this question is that number of this count has been given to the United nations
Similar questions
Social Sciences,
1 month ago
Math,
3 months ago
Math,
3 months ago
Science,
9 months ago
Math,
9 months ago