摘要: // 一元二次方程.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include "math.h" int main(int argc, char* argv[]){ double a 阅读全文
posted @ 2021-04-08 19:28 dyf2019 阅读(313) 评论(0) 推荐(0)
摘要: #include "stdafx.h"//计算1*2*3.....int main(int argc, char* argv[]){ int sum=1,i=1,flag; printf("请输入累乘末项:"); scanf("%d",&flag); while(i<=flag) {sum=sum* 阅读全文
posted @ 2021-04-08 13:02 dyf2019 阅读(467) 评论(0) 推荐(0)
摘要: // 质量计算.cpp : Defines the entry point for the console application.// #include "stdafx.h" int main(int argc, char* argv[]){ double r=10,p=34,v,w; v=4.0 阅读全文
posted @ 2021-04-07 13:55 dyf2019 阅读(60) 评论(0) 推荐(0)