{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

func1 - scanf"%d"&exp x = pow(x,exp...

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online