<=Back
The following is a C program code that has errors. Use it to answer the question that follows.
#include<stdio.h>
int main()
{
int x,y;
printf(“Enter the value of x \n”);
scanf(“%d”, x);
if(x>20);
printf(“the value is greater than 20 and it is”,x);
return 0;
}
Identify the errors and rewrite the correct program code
 Viewed: 417 times
Share in: