Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

grzesiek11 Apr 8th, 2020 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. int main() {
  4.     int number = -1;
  5.     int sum = 0;
  6.     while (number != 0) {
  7.         std::cin >> number;
  8.         sum += number;
  9.     }
  10.     std::cout << sum << '\n';
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top