I've written an application that determines whether an input (a 5-digit number) is a palindrome or not.
1. After I've finished the code, it's long and not readable. Would you give me hints of an alternate method?
2. After the user has inputted a 6 or more digit long
number, or a 4 or less...
Thank you very much for help from jh from california and sedj. The program was written because of a question in a book: "Write an application that inputs from the user the radius of a circle and prints the circle's diameter, circumference and area." I think the problem is fixed, now...
I'm new to Java and I've written my first program. The program produced correct result. Then I put the program in an applet and loaded from a html page. The program runs too but when it's finished, I've found this message (in the applet area).
Exception: java.security.AccessControlException...
i've written to find factorials for myself. i suppose 0!=1 but when i input 0, the result is not 1. please help. below is my script. thanks.
<script lanaguage = "JavaScript">
<!--
function getFactorial()
{
var schVal =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.