Hello, i'm currently creating a program that allows the user to input a sentince and then the program compares each word to the array to see if there is any matches. The program also is able to sort using quicksort and other sorts. however, i am not sure how to deconstruct user inputted data and compare it to the array. Any Help would be great
deconstructing is easy..u just need to consider the "space" as a character of separation between two diff words in a sentence...traverse the whole sentence and store the words in a 2-d array character by character when "space" condition is checked.