Search This Blog

Read Your Language

The number is divisible by 100 or not

Write a program is  any number takes from user. Display whether the number is divisible by 100 or not. 



#include<stdio.h>
main()
{
int i=100,n;
    printf("Enter the any postitive integers:\n");
scanf("%d",&n);
(n%100==0) ? printf(" yes this number is disivible of 100 : %d",n):printf(" No this number is not disivible of 100 :%d",n);

}


No comments:

Contact Form

Name

Email *

Message *

Followers