Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Im sorry the cout contain spanish, but I don't think that matters. I want to know how do I format the outputs of the w1[i]

image text in transcribed

Im sorry the cout contain spanish, but I don't think that matters. I want to know how do I format the outputs of the w1[i] so that they align with the title of each column. As you can see in the code there are 4 functions inside the for loop to print each of then in the same line, but I can't seem to align them with setw() because the string output under name can vary the amount of letters, its not fixed. Is there a solution to this?

Usted selecion: Imprimir el arreglo de Empleados. # Name ID Number Department Position 1 Christian Santiago 6443 dauwdgawawudawdawd 2 karl marx 64646 aduiawhdaawduoawdua else Entre 'Y' si desea volver al menu 'N' si desea terminar el programa: cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago