← Back to Printing
Question 235
Build a Progress Line
Build a Progress Line
MixConsole.Writewith interpolation to assemble one line from several pieces. With done = 3 and total = 5, useConsole.Writefor the label and the fraction, then finish the line withConsole.WriteLine. The final single line of output must read exactly: Progress: 3/5 tasks complete
Expected Output:
Progress: 3/5 tasks complete= newline. The output ends with a newline — print one after the last line.
Hints4 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.