Write a program called q4.cpp that inputs a string from the keyboard. The program will then call a function extract (str
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a program called q4.cpp that inputs a string from the keyboard. The program will then call a function extract (str
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)