c语言,输出科学计数法#include <stdio.h>#include <string.h> char num[110]char result[110]int len int main(){int i,j2023-04-29Python280
如何用C语言表示10^5一般的为int pow(int a,int b),可以缩短的,比如10^5=(10^2)^2*10可以用pow,可以自己编写的,不用调用,比如int pow(int a,int b){if(b==1) return aif(b==0) re2023-03-22Python180
c语言,输出科学计数法#include <stdio.h>#include <string.h> char num[110]char result[110]int len int main(){int i,j2023-02-27Python110
C语言中while(n)是什么意思首先,n在这里被当作了一个条件其次,当n为真时,进入while循环体(A);否则跳出循环继续执行下面部分(B).while(n){循环体;标识为A}语句1;标识为B语句2;while(N--) 的意思是执2023-02-27Python150
C语言科学记数法double a = 1.2e5char buf[100]sprintf(buf, "%e", a)*先sprintf %e 输出到字符数组,然后再去对字符数组里的字符串做适当的调整*.......剩下的代码就是看你2023-02-26Python110
C语言编程序实现:从键盘输入一个4行4列矩阵的各个元素的值,将该矩阵的下三角部分全部倒置为0,并输出该矩阵#include<stdio>void main(){ int a[4][4] int i,j for(i=0i<4i++) for(j=0j<4j++)scanf("%d&2023-02-25Python200
C语言科学记数法double a = 1.2e5char buf[100]sprintf(buf, "%e", a)*先sprintf %e 输出到字符数组,然后再去对字符数组里的字符串做适当的调整*.......剩下的代码就是看你2023-02-23Python500
C语言科学记数法double a = 1.2e5char buf[100]sprintf(buf, "%e", a)*先sprintf %e 输出到字符数组,然后再去对字符数组里的字符串做适当的调整*.......剩下的代码就是看你2023-02-23Python150
c语言,输出科学计数法#include <stdio.h>#include <string.h> char num[110]char result[110]int len int main(){int i,j2023-02-23Python210
C语言科学记数法double a = 1.2e5char buf[100]sprintf(buf, "%e", a)*先sprintf %e 输出到字符数组,然后再去对字符数组里的字符串做适当的调整*.......剩下的代码就是看你2023-02-22Python120
C语言科学记数法double a = 1.2e5char buf[100]sprintf(buf, "%e", a)*先sprintf %e 输出到字符数组,然后再去对字符数组里的字符串做适当的调整*.......剩下的代码就是看你2023-02-22Python140