I'm just super confused on how to do this and am not sure where to post it so sorry if this is the wrong place and if anyone can help me start it, that'd be great.
Write a program that utilizes a function that has two parameters, num and letter. The function should utilize a for loop that continually prompts the user to enter strings until the loop has iterated exactly num times. As the user enters each string, the function should determine if the string just entered contains two or more of the characters specified in the letter parameter. After the loop has finished the program should return the number of strings that contained two or more of the specified letters. Include code to demonstrate the correctness of your program.



Reply With Quote
