fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 6 , b = 3;
  6. cin >> a >> b;
  7. if (a % b == 0);{
  8. cout << " Posibil";
  9. }
  10. if (a % b != 0);{
  11. cout << " Imposibil";
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
 Posibil Imposibil