#include<iostream> using namespace std; int main(){ int n = 0; while(cin>>n && n!=0){ if(n%11 == 0){ cout<<n<<" is a multiple of 11."; } else{ cout<<n<<" is not a multiple of 11."; } } return 0; }
沒有留言:
張貼留言