If problemThank you very much it's working, but still some problems. When I remove if(a%n==0), then program wo...
If problem[code]#include <iostream> using namespace std; main() { int a; int n; cin >> a; if (a%2==0) ...