Computer Science, asked by Iqra1512, 4 months ago

write a program to input a number. check and display whether it is divisible by 100​

Answers

Answered by mohansingh1234
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