Write a C++ program to create a character array of size 50 0 . Prom pt the
Question:
Write a C++ program to create a character arrayof size 500.Prompt the user to enter some text(including spaces). Now, find and print the number of words that contain both alphabetic and non-alphabetic characters (1, 2, $, etc.). Also, display the selected words on the console. E.g. (apples, meal, ID): These words only have alphabetic characters. However, your Registration No. (L1F15BSCS0123) has both alphabetic and non-alphabetic characters.InputEnter some text: We are happy to have 5 apples in the meal. Your ID is L1F15BSCS0123. You are a student of the 2nd semester. We will shut down all the 5 bus stations. You are going to suffer this for 30 minutes. You are not happy. We will need to shut down 6 of the 12 jails. We should help those who suffer in 1st week.
Please do it in C++
Differential Equations and Linear Algebra
ISBN: 978-0131860612
2nd edition
Authors: Jerry Farlow, James E. Hall, Jean Marie McDill, Beverly H. West