正在加载图片...
举例 #include <stdio. h #include <stdio.h> ■# include< math. h> pow(int b void maino Int a a=b*b It a eturn int b a=pow(b, 2); void maino printf( %od\n",a) pow(5) printf( od\n",x) 北大書写12 举例 ◼ #include <stdio.h> ◼ #include <math.h> ◼ void main() ◼ { ◼ int a; ◼ int b=5; ◼ a=pow(b,2); ◼ printf("%d\n",a); ◼ ◼ } ◼ #include <stdio.h> ◼ pow(int b) ◼ { ◼ int a; ◼ a=b*b; ◼ return (a); ◼ } ◼ void main() ◼ { ◼ int x; ◼ x=pow(5); ◼ printf("%d\n",x); ◼ }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有