Strona główna > Ciągi > Suma „n” kolejnych liczb naturalnych

Suma „n” kolejnych liczb naturalnych

8 października 2009 Dodaj komentarz Go to comments

# include <iostream>

# include <cmath>

using namespace std;

int main ()


int i, s=0, a, n;

cout<<„Program oblicza sume n-kolejnych liczb\n”;

cout<<„Podaj pierwsza liczbe…”<<endl;


cout<<„Ile liczb mam sumowac…?”<<endl;


for (i=0; i<n; i=i+1)


cout<<„Suma liczb = „<<s<<endl;

char c;

cin>> c;


  1. 4 marca 2014 o 7:34 am

    Remarkable! Its really remarkable post, I have got much clear idea on the topic of from this post.

  2. 26 czerwca 2014 o 4:42 am

    The swifter it is easy to whip up a triple scoop of anything, the better your score may be.
    Gail Leino gives her two cents worth on fashion and entertaining.

    For the most part a Brunch may be the perfect time for having a variety of interactive games and
    printable activities for everyone to play.

  3. 14 listopada 2014 o 2:00 am

    Hurrah! Finally I got a blog from where I be able to in fact take helpful facts regarding my study and knowledge.

  4. 13 marca 2016 o 3:31 am

    It’s fantastic that you are getting thoughts from this paragraph as well as from
    our discussion made at this place.

  5. 21 Maj 2016 o 12:53 pm

    The steed is not being malicious by any means, he is just terrified out of his wits
    and also it is your job to aim to continue to be as calm
    as possible as you aim to gain back control of the scenario.

  6. 19 lutego 2017 o 10:35 pm

    This post presents clear idea designed for the new people of blogging, that
    truly how to do blogging.

  7. 22 grudnia 2017 o 6:36 am

    Don’t, under any circumstances, save your valuable
    payment information.

  8. 8 stycznia 2018 o 6:36 am

    Your style is unique compared to other people I’ve read stuff from.
    Thanks for posting when you have the opportunity, Guess I’ll just book mark this site.

  9. 22 lutego 2018 o 4:02 pm

    My brother recommended I may like this website.
    He was entirely right. This put up actually made my day.
    You can not imagine simply how a lot time I had spent for this information! Thanks!

  1. 17 lipca 2016 o 8:04 am
  2. 3 stycznia 2017 o 9:11 pm
  3. 20 listopada 2017 o 4:13 pm
  4. 16 grudnia 2017 o 1:21 am
  5. 16 grudnia 2017 o 1:55 am
  6. 21 grudnia 2017 o 2:39 pm


Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:


Komentujesz korzystając z konta Wyloguj /  Zmień )

Zdjęcie na Google+

Komentujesz korzystając z konta Google+. Wyloguj /  Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj /  Zmień )

Zdjęcie na Facebooku

Komentujesz korzystając z konta Facebook. Wyloguj /  Zmień )


Connecting to %s

%d blogerów lubi to: