Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Overland pg. 68
//g++ 5.4.0 // overland pg. 68 adding Oct. 25, 2019 #include <iostream> using namespace std; int main() { int sum = 0; int n= 0; do { cout << "Please enter a number (0 for exit) :"; cin >> n; n += sum; } while (n> 0); cout << " The sum is "<<sum<<endl; return 0; }
run
|
edit
|
history
|
help
0
HelloWorld
Breakfast Static Function
remove_copy_if-30-Seconds-of-C++
samp error
MoaJhalMury
Iviewb
Спарсить полученный в виде строки JSON в объект (Boost)
Extended Euclidean Algorithm
带头结点的单链表
remove dublicates from string using recursion