// To check the number is divisible by 97 or not by if else statements. #include <stdio.h> #include <stdlib.h> int main() {int n; printf("enter the number to be divisibilty check: \n",n); scanf("%d",&n); if(n%97==0) { printf(" %d is divisible by 97",n); } else { printf("%d is not divisible by 97",n); } return 0; }
#include <stdio.h> #include <stdlib.h> int main() { int Len, Bre; printf("Enter the Length: ",Len); scanf("%d/n",&Len); printf("Enter the Breadth: ",Bre); scanf("%d/n",&Bre); printf("Area Of the Rectangle is: %d",Len*Bre); return 0; }
Comments
Post a Comment