Tri-Automorphic Number Tri-Automorphic Number : A number is called Tri-Automorphic number if the last digits of 3 times the square of the number is equal to the number itself. Or A number ‘n’ is called Tri-Automorphic if ‘3n 2 ’ ends in ‘n’. Example :- Input : 5 Sqaure : 3 X (5 X 5) = 75 Output : It is a Tri-Automorphic Number Input : 667 Sqaure : 3 X 667 X 667 = 1334667 Output : It is a Tri-Automorphic Number Input : 12 Square : 3 X 12 X 12 = 432 Output : It is not a Tri-Automorphic Number Algorithm and Program given below :-
Quiz Game Program in JAVA Quiz Program Project in JAVA for ICSE Students :- User is asked to give answers of 40 questions. For every correct answer 1 point is added in the score. At the end Final Score will be displayed. Run program in Bluej for organised and better result. Program below :-
Palindromic Prime Number in JAVA If a number is simultaneously palindromic and prime then it is said to be a PalPrime Number. Example: Number 313, 353 etc are PalPrime number. Algorithm and Program below :-
Comments
Post a Comment