原文:输入一个正整数n,生成一张2的乘方表,输出2*0—2*n的值。

include lt stdio.h gt include lt math.h gt 程序中调用幂函数pow ,需包含头文件math.h void main int i,n printf Please enter n: scanf d , amp n for i i lt n i 循环执行n 次 printf pow , d .f n ,i,pow ,i 输出 的乘方 ...

2019-12-17 19:26 0 1019 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM