0
Program to find out that the entered no. Is divisible by nine or not
2 Antworten
+ 3
int no;
int main(){
cin>>no;
if(no%9==0){
//divisible by 9
}
return 0;
}
+ 1
you need to research the use of modulus to check if there is a remainder after dividing by 9