Answer to Question #11228 in C++ for monia

Question #11228
I need help fixing my switch case for it to be able to get a user input, accept it and make it work with the function i have available. But it is in C language not C++ while (running){ printf( "What would you like to do?\n") ; printf( "1: Borrow\n"); printf( "2: Return\n"); printf( "3: Search\n"); printf( "4: Calculate overdue amount\n"); printf( "5: exit\n"); scanf("%d", &user_input); switch(user_input) { case 1 : {char name[20]; printf( "Enter name of book: "); gets(name); Borrow(name); break; }
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog