搜索
人大经济论坛 标签 解方程 相关日志

tag 标签: 解方程经管大学堂:名校名师名课

相关日志

分享 C++—解方程公式
accumulation 2015-5-2 13:54
#include iostream #include cmath using namespace std; int main() {float a,b,c,x1,x2; cinabc; x1=(-b+sqrt(b*b-4*a*c))/(2*a); x2=(-b-sqrt(b*b-4*a*c))/(2*a); cout"x1="x1endl; cout"x2="x2endl; return 0; }
个人分类: 物理学|0 个评论
GMT+8, 2025-12-26 12:12