16 . Write a C program to check whether a number is divisible by 5 and 11 or not. Solution :- #include<stdio.h> #include<conio.h> void main() { clrscr(); int a; printf("Enter the number :-"); scanf("%d",&a); if((a%5==0)&&(a%11==0)) { printf("%d The number is Divisble by 5 and 11"); } else { printf("%d The number is not Divisble by 5 and 11 "); } getch(); } Output :-
All computer course for class 9th to 12th with proper practical and theory .........