Make a c program that accepts an integer value at the main


Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number( multiplies is by itself) and to another function that cubes the number ( multiplies by itself twice).

The main method displays the results. If an integer to be pass into the first function(squaring of numbers), is 0, pass it to the function that will make the value changed into

After the modification or changes, the resulting value will be passed into the square and cube functions.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Make a c program that accepts an integer value at the main
Reference No:- TGS0661484

Expected delivery within 24 Hours