Master C++
Conference badge
A conference prints a badge for everybody who arrives. The badge machine hands your function a name and a role, and wants one line of text back, in exactly the same shape every time so that the badges all line up.
Write badge, which returns the name, then a comma, then a single space, then the role.
Input: name = "Ada Lovelace", role = "Speaker"
Output: "Ada Lovelace, Speaker"
Input: name = "Jo", role = "Guest"
Output: "Jo, Guest"name is between 0 and 60 characters long.role is between 0 and 30 characters long."Jo, ", with the comma and the space still there.Run your code to see how it does on the examples. Submit also runs the hidden cases.