![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算机程序设计(C++)
丁太阳
这个作者很懒,什么都没留下…
展开
-
第1周C++中级练习
1 #include <iostream> #include <cmath> using namespace std; int main() { double x, a; cin>>x>>a; cout<< log(x+sqrt(x*x+1)) / log(a); } 2 #include <iostream> #include <cmath> using namespace std; int mai原创 2021-05-07 22:05:38 · 60 阅读 · 0 评论 -
第1周C++基础练习
1 #include <iostream> using namespace std; int main() { cout<<"Hello World!"; return 0; } 2 #include <iostream> using namespace std; int main() { cout<<"慈母手中线\n游子身上衣\n临行密密缝\n意恐迟迟归\n谁言寸草心\n报得三春晖"; return 0; } 3原创 2021-05-07 21:33:51 · 60 阅读 · 0 评论 -
第1周编程作业
1 #include <iostream> using namespace std; int main() { cout<<"Hello C++."<<endl; cout<<"I like programming."; return 0; } 2 #include <iostream> using namespace std; int main() { string s; getline(原创 2021-05-07 20:50:06 · 66 阅读 · 0 评论