From a6165ebe094d776e2968f2455387324df0a0febd Mon Sep 17 00:00:00 2001 From: tshirt05 <57018548+tshirt05@users.noreply.github.com> Date: Sat, 26 Oct 2019 02:02:02 +0530 Subject: [PATCH] changes1 --- reverse_of_given_num.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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<