Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 518 Bytes

Trimorphic Number.md

File metadata and controls

16 lines (16 loc) · 518 Bytes

CodeAttack

Team

Problem(Trimorphic Number)

9 October 2018

OVERVIEW

A trimorphic number is a number whose cube ends in the number itself.

GOALS

Input: 4
Output: True(4^3 is 64, which ends in 4)
Input: 24
Output: True (24^3 is 13824, which ends in 24)
Input: 249
Output: True(249^3 is 15438249, which ends in 249
Write a program to check if the user input is a trimorphic number or not.

Note:
Student can choose any programming language of his/her choice.