【练习一】 题目要求: 假如我国国民生产总值年增长率为7%,计算10年后我国国民生产总值和现在比增长多少百分比。 计算公式为:r为年增长率,n为年数,p为与现在相比的倍数 解法一 #include <stdio.h> #include <math.h> int main() { printf("%f",pow(1.07,10.0)); //调用x的y次方pow函数