Buckys C++ Programming Tutorials – 11 – Functions That Use Multiple Parameters | Video



Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Proudly WWW.PONIREVO.COM

Source

READ ALSO:  C# Programming Tutorials: Beginners 02 - Using Variables and Parsing | Video

49 Comments

  1. #include<iostream>

    using namespace std;

    int main()
    {
    int sum(int,int);
    int n1,n2,x;
    cout<<"enter two numbers n";
    cin>>n1>>n2;
    x=sum(n1,n2);

    cout<<"the sum is "<<x<<" and it has no dimensionsn";

    }
    int sum(int a,int b)
    {
    int c;
    c=a+b;

    return c;
    }

  2. If we use c out in addnumbers then we dont need cout in main function and also we dont need to return anything.
    int addnumbers (int x,int y)
    {Int answer=x+y;
    cout <<answer;
    }
    int main ()
    {
    addnumbers (8,6)
    // no need to write return 0 as by default 0 is returned
    }

  3. ugh ugh ugh hey guys what's up welcome to your 11 tutorial…….(My deadass thought it's different channel)

  4. one more alternative way of adding number using multiple parameter,

    int addnumbers(int x,int y){
    int answer = x+ y;
    cout << answer << endl;

    }
    int main(){
    addnumbers(10,20);
    return 0;
    }

    hope it helps:)

  5. Pro tip: listen to these videos at 2x speed. Still understandable and much quicker to get through the entire course. I am an intermediate C++ user, though, so this series is more of a refresher for me.

  6. Got an A for my C++ final exam. Never attended the classes, only did the homework and learned from here. 50% of others who attended the class failed the exam.

  7. 2019 here and studying C++ with PDF book and Bucky….I should mention one thing that YouTube Videos not enough to be professional programmers … Ladies and gentlemen you need books and solving problems .. that how do you become programmer…Bucky's videos NOT ENOUGH….Have a good days

  8. can somebody tell me why is the following program working exactly fine even though i did not use return as bucky did

    #include <iostream>
    using namespace std;
    int addnumbers (intx,inty){
    int answer=x+y;
    cout<< answer;
    }
    int main() {
    addnumbers(46,63);
    return 0;
    }

  9. Hey Guys i have a confusion that if i want that the user enter the value what will be the programme and its solution. Can any body help

Comments are closed.