Home C 26. DOLL SHOW 26. DOLL SHOW / July 27, 2017 Code: #include<stdio.h> int main(){ int n; printf("Press a number:\n"); scanf("%d",&n); if((n>1)&&(n<=100)) { if(n%2==0) { printf("Doll will sing"); } else printf("Invalid number"); } else printf("Invalid number"); return 0; } You Might Also Like Post a Comment
No comments