Computer Science, asked by aniladhikari41, 1 year ago

Write program in c that takes an integer number from user and display message "welcome". if the given integer number is of four digits only otherwise displayed?rejected?​

Answers

Answered by charlie1505
1

Answer:

#include<stdio.h>

int main()

{

int num;

printf("\n Enter a Four digit no");

if (num>999 && num<=9999)

{

printf("welcome");

}

return 0;

}

Answered by adarshsinghdeshwar
0

Answer:

fgftffhtytkuygfdsasdfyjhg

Explanation:

Similar questions