write a program accept 3digit number and display even digit from that number
Answers
Answered by
0
Explanation:
#include<stdio.h>
int main()
{
int num;
printf("Enter a number:");
scanf("%d"&num);
if(num>99 && num<1000)
{
printf("%d is a 3 digit number",num);
}
else
{
printf("%d is not a 3 digit number",num);
}
return 0;
}
Similar questions
Geography,
25 days ago
English,
25 days ago
Science,
1 month ago
India Languages,
1 month ago
Science,
9 months ago