Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.
GET A 40% DISCOUNT ON YOU FIRST ORDER
Write a program that prints the message Hello my name isHal!Then on a new line the program should print the message Whatwould you likeme to do? Then its the users turn to type in an input. Youhavent yet learned howto do itjust use the following lines of code:string user_input;getline(cin user_input);Finally the program should ignore the user input and print themessage I am sorryI cannot do that.This program uses the string data type. To access this feature youmust place the line#includebefore the main function.Here is a typical program run. The user input is printed inboldface.Hello my name is Hal!What would you like me to do?Clean up my roomI am sorry I cannot do that.When running the program remember to hit the Enter key aftertyping the last word of the input line.