Write a program called q4.cpp that inputs a string from the keyboard. The program will then call a function extract (str
Posted: Tue Jul 05, 2022 10:19 am
Write a program called q4.cpp that inputs a string from thekeyboard. The program will then call a function extract (string s)that takes a string representing an email address suchas [email protected]. The program will then extract theusername from the email address and print it to the screen. (withcomments)