jeudi 11 octobre 2018

does the word contain the generated char in it + calculate the average of that?

the question is generate a random char and enter 5 words and it should send each word standalone to a method to check if the char is their in the word if yes it should return 1 if not it returns 0 and go back to the main to sum all the ones and 0's of each word and calculate the avg and x words containing generated char




Aucun commentaire:

Enregistrer un commentaire