RevolKing
Jul 23, 2012, 11:45 PM
A common use of an initialized array is to create a look up table. Write a C program
that initializes 5x3 array in which the first element of each row contains a number, the
second element contains its square and third element contains its cube. Prompt the user to
enter a number within 1 to 5 and prints its square and cube.
Can sm1 help me do this?
I tried but still can't do it.. xC
that initializes 5x3 array in which the first element of each row contains a number, the
second element contains its square and third element contains its cube. Prompt the user to
enter a number within 1 to 5 and prints its square and cube.
Can sm1 help me do this?
I tried but still can't do it.. xC