Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
__This program is for finding automorphic number ....but it is not working on bluej.....plz tell what's incorrect??__
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
System.out.println("enter number");
int n=input.nextInt();
int r;int s=0;
int sq=n*n;
int t=sq;
int c=1;int o=0;
while(t!=0)
{
r=t%10;
o++;
t=t/10;
}
int counter=0;
for(r=sq%10;sq!=0;sq=sq/10)
{
counter++;
s=s+r*c;
c=c*10;
if(s==n)
{ System.out.println("auto");
break;
}
else if(counter==o)
System.out.println("not");
}
}
} |
 |
| asked by Fire Bird (firebird) 7 years ago |
2 |
Other Questions on This Topic
https://www.respaper.com/ |
 |
| asked by Sujata Kundu (mumpi_1989) 263 days ago |
0 |
+ 3 more questions by mumpi_1989
I'm talking about this website! |
 |
| asked by Sujata Kundu (mumpi_1989) 263 days ago |
1 |
There is membership access right... I want to do that... In order to be a member I must pay... How will I do that? Is there any UPI option for payment?? |
 |
| asked by Sujata Kundu (mumpi_1989) 263 days ago |
1 |
Is there any UPI option for payment??? Please help???? |
 |
| asked by Sujata Kundu (mumpi_1989) 263 days ago |
1 |
i'm unable to download papers |
 |
| asked by Tsa (rajpurohit14) 354 days ago |
1 |
Class 9 final question paper |
 |
| asked by Armaan Mandal (arms10) 1 year ago |
0 |
How to contact respaper |
 |
| asked by Insha Naz Fatima (sarahmeh) 1 year ago |
1 | + 2 more questions by sarahmeh
How to contact |
 |
| asked by Insha Naz Fatima (sarahmeh) 1 year ago |
1 |
Hii I have uploaded my school paper yet I have not gotten access to any other paper...why??? Did it happen with someone else too??🙃 |
 |
| asked by Insha Naz Fatima (sarahmeh) 1 year ago |
1 |
8th Icse question papers |
 |
| asked by Aparna Narayan (aparna1974) 1 year ago |
1 |
What's up people? Does anyone I know ever visit this place? If yes please just hit me up with a "hi" I would love to chat haha... Take care everyone :)) |
 |
| asked by Anshika Jaiswal (anshika28) 1 year ago |
4 |
I've got an endsem exam in an hour but all I am doing is reading old threads on res. 🥲 |
 |
| asked by Nisarg Bhavsar (nisarg71) 1 year ago |
3 |
| |