I'm new to coding and I'm trying to make a program that will simply add two numbers together and give an answer.
Some assistance with this would be appreciated. I'm using Bloodshed's Dev-C++ as a compiler.Code:#include <iostream>
using namespace std;
int main ()
{
float a, b, c;
c = a+b;
cout <<"Please give me two numbers to add" << endl;
cin >>a>>b;
cout <<"The answer is "<< c << endl;
return 0;
}