fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. int x;
  6. cin>>x;
  7. bool multipleof3 = x%3==0;
  8. bool multipleof5 = x%5==0;
  9. if(multipleof3 && multipleof5){
  10. cout<<"multipleof3&multipleof5";
  11. }else {
  12. cout<<"NOT";
  13. }
  14.  
  15.  
  16.  
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 5280KB
stdin
65
stdout
NOT