diff --git a/reverse_of_given_num.cpp b/reverse_of_given_num.cpp index 70db07e..2959600 100644 --- a/reverse_of_given_num.cpp +++ b/reverse_of_given_num.cpp @@ -1,9 +1,10 @@ -#include +#include int main() { int p,i,j,k=0; - scanf("%d",&i=k*10+j; + scanf("%d",&i) + =k*10+j; i=i/10; } - printf("%d",k); +cout<