#include <stdio.h>
void showCube(double x);
int main(void){
double val;
printf("Enter a floating-point value: ");
scanf("%lf", &val);
showCube(val);
return 0;
}
void showCube(double x) {
printf("The cube of %e is %e./n", x, x*x*x );
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266559.html