c语言中的指数运算

c语言中的指数运算。

#include <stdio.h>
#include <math.h>

int main(void)
{
    float tmp;
    
    tmp = pow(2,3);
    
    printf("pwo(2,3) = %f.\n", tmp);
    
    return 0;
} 

 

posted @ 2021-08-09 23:53  小鲨鱼2018  阅读(4028)  评论(0编辑  收藏  举报