Answered You can hire a professional tutor to get the answer.
can you tell me what I am doing wrong here with C++ coding // Start // Declarations // number acctNum // string firstName // string lastName //
can you tell me what I am doing wrong here with C++ coding
// Start
// Declarations
// number acctNum
// string firstName
// string lastName
// number purchasePrice
// number payment
//
// output "Please enter account number: "
// input acctNum
// output "Please enter customer's first name: "
// input firstName
// output "Please enter customer's last name: "
// input lastName
// output "Please enter purchase price: "
// input purchasePrice
//
// payment = purchasePrice / 12
// output "Customer First Name: ", firstName
// output "Customer Last Name: ", lastName
// output "Account Number: ", acctNum
// for count = 1 to 12
// output "Payment Number ", count, ": $" , payment
// endfor
// Stop
#include <iostream>
#include <cstdlib>
using namespace std;
int main ()
{
int acctNum;
string firstName;
string lastName;
int purchasePrice;
int payment;
cout << "Please enter account number: ";
cin >> acctNum;
cout << "Please enter customer's first name: ";
cin >> firstName;
cout << "Please enter customer's last name: ";
cin >> lastName;
cout << "Please enter purchase price: ";
cin >> purchasePrice;
payment = purchasePrice / 12;
cout << "Customer First Name: " << firstName << endl;
cout << "Customer Last Name: " << lastName << endl;
cout << "Account Number: " << acctNum << endl;
for(payment = 1; payment <= 12; payment++)
cout.precision(2);
cout << "Payment Number ";
payment = payment + 1;
output count
}