Home C 28. Blood bank 28. Blood bank / July 30, 2017 Code: #include<stdio.h> int main(){ int age,w; printf("Enter your Age:\n"); scanf("%d",&age); printf("Enter your Weight:\n"); scanf("%d",&w); if((age>18)&&(w>40)) printf("Eligible to donate."); else printf("Not Eligible to donate."); return 0; }
No comments