Roles and Users Assignment 1st question is in C programming language. All other questions are in cpp programming language. switch case is used for checking the options.