//#include "stdafx.h"//If the vc++6.0, with this line.#include using namespace std;int main(int argc,char *argv[]){ int n; cout << "Please enter a positive integer...\nn="; cin >> n; for(;n;cout << n%10,n/=10); cout << endl; return 0;}