Computer Science, asked by OpAryaDas, 1 month ago

write a program accept 3digit number and display even digit from that number​

Answers

Answered by ansumaanpatra
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