I have to do a program for my C++ class, and we have to write all programs using gedit on ubuntu and run them all using the terminal command prompt. I dont know what the whole ./a.out is, and all i have for my program is
// This program will calculate an employee's total annual pay.
#include <iostream>
using namespace std;
int main ()
{
double payAmount, payPeriods,annualPay;
payPeriods = 26;
payAmount = 1700.0;
annualPay = payPeriods * payAmount
cout << "Employees annual pay is $" << annualPay<< ".\n"
return 0;
}
how do i run it?