ok i have an assignment where im supposed to make a program convert from U.S. Dollars ro Euros
when= 1 euro = 1.49
im a programming student and we barely started talking about C++ in class so in not an expert using it, so my program
is not working at all(Visual Studio)
THIS IS WHAT I HAVE:
Course: CS 101.
• Program: Program 1.
• Due Date: August,31,2008.
• Description: The purpuse of this progam is to be able to convert from U.S. Dollars to Euros.
• Inputs: Any dollar amount.
• Outputs: The result in Euros.
*/
#include <iostream>
using namespace std;
int main()
{
const double CONVERSION = 1.49
;int dollars;
int euros;
cout <<"Enter dollar amount without the dollar sign please: ";
cin >> dollars >> euros;
cout << endl;
cout << "Dollars = " << dollars << endl;
cout << "Euros = " << euros << endl;
cout <<"g" << endl;
return 0;
}
i NEED SOME HELP!!!!!!!! WHAT AM I MISSING IN MY CODE TO MAKE IT WORK??????????/
Tags: