Question: in c++ String foodName and integer foodQuantity are read from input. - Set the fill to r: - Output foodName with a width of 15
String foodName and integer foodQuantity are read from input. - Set the fill to "r: - Output foodName with a width of 15 characters and left-aligned. Then output the colon ":. - Output foodQuantity with a width of 15 characters and right-aligned. End with a newline, Ex: If the input is broccoli 1035 , then the output is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
