Answer to Question #23008 in C++ for Nigel

Question #23008
Write a program that prompts the user for 2 floating point numbers?
1
Expert's answer
2013-01-29T11:36:46-0500
#include <iostream>
using namespace std;

float a, b ;

int main(int argc, char* argv[])
{
cout << "enter 2 floating point numbers: " << endl;
cin >> a >> b ;
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS