Write a program in c language write a function float


Write a program in C language. Write a function, float pos_power(float base, int exponent); which returns the value of base raised to a positive exponent. For example, if base is 2.0 and exponent is 3, the function should return 8.0. If the exponent is negative, the function should return 0.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program in c language write a function float
Reference No:- TGS01281195

Expected delivery within 24 Hours