write a program to input a number. check and display whether it is divisible by 100
Answers
Answered by
2
Answer:
void main()
{
int a;
cout<< “ enter a number whose divisibility you want to check with 100”;
cin>>a;
if ( a%100==0)
{cout<<”number is divisible by 100″;}
else
cout<<”number is not divisible by 100″;
getch ();
}
Similar questions
Science,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
Physics,
4 months ago
Geography,
10 months ago