String department

Rewrite the following program so that it is properly formatted.  (13)

#include

#include using namespace std;

const double X = 13.45;

const int Y=18;

const char STAR= ‘*’;

int main()

string employeeID;

string department;

int num;

double salary; 

cout<“enter employee=”” id:=”” “;=””>

cin>> employeeID;

cout

cout<“enter department:=”” “;=””>

cin >>department; cout

cout<“enter a=”” positive=”” integer=”” less=”” than=”” 80:”;=””>

cin>>num;

cout

salary=num*X;

cout<“id:>< employeeid=””>

cout<“department><><>

cout <“star:><>

cout<“wages:><>

cout<“x ==””><>

cout<“x+y ==”” “=””>< x+y=””>< endl;=””>

return 0;

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X