#include<stdio.h>#include<math.h>void reverse(){ char c; if ((c = getchar()) != '\n') reverse(); if (c != '\n') putchar(c); } main(){ reverse(); system("pause"); return 0;