CJCoding With Joseph
15free / daySign inCreate account

CSV Two Rows

Read two people from input. Each person has name, age, and country (one value per line). Print the CSV header and two rows.

Output format:
Name,Age,Country
name1,age1,country1
name2,age2,country2

Print the header once, then both rows.

Expected Output:

Name,Age,Country
Ana,20,Brazil
Leo,21,USA

= newline. The output ends with a newline — print one after the last line.

Hints4 available
Topics:
User Input
📥 Auto-Input:
Ana\n20\nBrazil\nLeo\n21\nUSA\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (sysout, psvm, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.