Hello everyone I am new to writing code and when I try to compile my code I keep getting back multiple errors. I'm not sure how to even distinguish what its telling me to fix. So I hoped maybe if I put the small code I made on here you could tell me why its getting so many errors. Thanks!
#include<iostream>
#include<cstdlib>
using namespace std;
//********************************************************************
//*This program will calculate the total rental charge for a customer*
//********************************************************************
void main()
{
//Declare variables in program
double Daysrented
int Integer Perdayrate, Begodometer, Finalodometer, Totalmiles, Daysrented, Totalrentcharge
cout << "ETOWN CAR RENTAL PLACE ";
cout << "/n/n Per day rate ";
cin >> Perdayrate;
cout << "/nNumber of days used ";
cin >> Daysrented;
When you can't understand the compiler output try to search it on google. You will often find help. Moreover, if you post it here maybe someone can help you understand what it means.
Two errors I see are the missing semicolons at the end of the variable definition lines, and the comma when trying to concatenate data for cout