|
-
June 10th, 2009, 01:02 PM
#1
This is my first programming project, and I really need some help
Okay. I'm new to programming and I'm currently taking online C++ programming classes.
I'm doing this project involving hurricanes. I compiled this program into the C++ Compiler
This is the program I placed in there.
-----
---
//Project 1
#include <stdhx>
#include <iostream>
using namespace std;
int main()
{
double lat1; lat2; long1; long2; leg1; leg2;
cout <<"Enter value for Latitude"<<;
cin >> lat1;
cout <<"Enter second value for latitude<<;
cin >> lat2;
cout << "Enter Value for Longitude";
cin >> long1;
cout << "Enter 2nd value for longitude";
cin >> long2;
leg1 = = lat2-lat1;
leg2 = = long2 - long1;
cout << "First leg =" <<leg1<<endl;
cout << Second leg =" <<leg2 <<endl;
return 0;
}
-------------
Here I found 20 errors I couldn't really read. If you want to see them , please let me know.
Thank you so much for your help.
~Rukiya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|