Cube of a Number

This program is used to find the cube of a number from 1 to 10.In this program ,user is not asked to enter any number manualy.This program will automatically count the cube of all numbers between 1 and 10.While loop is used in it.Cube of a number is computed by multiplying the entered number three times.Similarly we can compute the cubes of number by varying the range.

CODE

OUTPUT

cube
cube
(Visited 26 times, 1 visits today)

Written by: