Monday, 14 March 2016

Hacker Rank Solution Program In C++ For "Input and Output "

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main()
{
    long double a,b,c,sum=0;
    cin>>a>>b>>c;
    sum=a+b+c;
    cout<<sum;
    return 0;
}



Output:-

Hacker Rank Solution Program In C++ For "Input and Output "

No comments:
Write comments

Recommended Posts × +