Question: In C++ 1) Declare a two dimensional array, ask the user to insert a class name into each of its rows (4 by 10). Use
In C++
1) Declare a two dimensional array, ask the user to insert a class name into each of its rows (4 by 10). Use scanf for the 1st two rows and gets for the other 2 rows. Make sure you use fflush(stdin) 2) Declare a single dimensional array, ask the user to enter 3 classes separated by semicolon 3) Store each of the classes without the field separator into a 3 by 10 array using strchr 4) Repeat question #3 using strtok 5) Repeat question #3 using strstr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
