Addition of 3 Numbers (C++)

Description:

Meenu is learning to add numbers.If Abi gives three values,meenu need to add it and give the correct answer. Test Case 1 Input (stdin) 1 2 3 Expected Output 6 Test Case 2 Input (stdin) 10 20 30 Expected Output 60

Program :

#include <iostream>

using namespace std;

int main()

{

int a,b,c,d;

cin >>a >>b>>c;

d=a+b+c;

cout<<d;


return 0;

}