Answered step by step
Verified Expert Solution
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]
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: coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started