func1 -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
float float_exp() { float x; int exp; printf("\nEnter a number"); scanf("%f",&x); printf("\nEnter an exponent");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: scanf("%d",&exp); x = pow(x,exp); printf("\nAnswer is %f",x); return x; }...
View Full Document

This note was uploaded on 08/25/2011 for the course IT 109 taught by Professor Bucao during the Spring '11 term at Ateneo de Manila University.

Ask a homework question - tutors are online