startMiner - free and simple next generation Bitcoin mining software

Program to get float values from users and calculate sum.

A program that get two floating point values from users and calculate the sum.


 using namespace std;
#include<iostream>
#include<conio.h>
int main()
{
 float a,b,sum;
 cout<<"Enter value of a:";
 cin>>a;
 cout<<"Enter value of b:";
 cin>>b;
 sum = a+b;
 cout<<"Sum="<<sum;
 getch();
 return 0;
}


Program to get float values from users and calculate sum.  Program to get float values from users and calculate sum. Reviewed by Alpha on 3/05/2017 01:17:00 pm Rating: 5

No comments:

Theme images by mariusFM77. Powered by Blogger.