Question: Rewrite the following program so that it is properly formatted. #include #include using namespace std; const double X = 13.45; const int Y=34; const char

Rewrite the following program so that it is properly formatted.

#include

#include

using namespace std;

const double X = 13.45; const int Y=34;

const char BLANK= " ";

int main()

{string firstName,lastName;int num;

double salary;

cout<<"Enter first name: "; cin>> firstName; cout<

cout<<"Enter last name: "; cin

>>lastName;cout<

cout<<"Enter a positive integer less than 70:";

cin>>num;cout<

cout<<"Name: "<

<<"Wages: $"<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!