this issue was by mistake marked resolved please help
pleasee help this issue was by mistakenly marked as resoved but it is not
I am not able to submit the answer the output window does not …show if my code is correct or incorrect…
I am not able to submit the code
this is bullshit im not able to get the output for this question as well.
import java.util.; public class Main { public static void main(String args[]) { // Your Code Here Scanner scan=new Scanner(System.in); int n=scan.nextInt(); printreverse(n); } public static void printreverse(int n){ int ans=0; while(n!=0){ int rem=n%10; ans=ans10+rem; n/=10; } System.out.println(ans); } }
Hi Mahinder
What question are your trying to solve?
Hey Maninder, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.