Results 1 to 2 of 2
Thread: Registration form answers
- 01-30-2017, 03:09 PM #1
Senior Member
- Join Date
- Nov 2016
- Posts
- 163
- Rep Power
- 5
Registration form answers
java-gaming.org
In that forum people focus/provide information about games development, with java.
It requires registration, in un-usual way. Resulting problems.registerForm.bmp
The first question.
In which year did Albert Einstein pass away?
-----
Second question always have diffrend values. I created Code that solves it:
Java Code:public class Testivity { public static void main(String[] args) { Testivity t = new Testivity (); System.out.println ( t.answer() ); } int answer () { int c = 2; int f = "ZNJ".hashCode() % 3000; int h = "TZO".hashCode() % 3000; for (int e = 0; e <= h; e++) c = (c ^ e) % f; return c; }
-----
What is the greatest common divisor of the previous two results?Last edited by asdfg; 01-30-2017 at 03:21 PM.
- 01-30-2017, 03:48 PM #2
Similar Threads
-
Help needed with JavaScript - registration form pop-up
By MrSky in forum New To JavaReplies: 2Last Post: 12-12-2016, 10:05 AM -
Making a registration form - Lots of errors please help!
By FermataPlays in forum AWT / SwingReplies: 1Last Post: 04-04-2015, 03:53 AM -
Create registration form | insert into database | call the database
By FamilyGuy in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-23-2012, 12:08 PM -
JSP Registration Form error
By ak88 in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 10-26-2009, 11:54 AM -
Duplicate entry in registration form!!!
By anki1234 in forum Advanced JavaReplies: 1Last Post: 01-04-2008, 09:15 PM
Bookmarks