Question: Question 1 Question 2 c++ Program (only use Char array and loop and if/else condition.. don't use interception or vector because I am a beginner

Question 1 Question 2 c++ Program (only use Char array and loop and if/else condition.. don't use interception or vector because I am a beginner so make the program only beginner level.)

Question 1 Question 2 c++ Program (only use Char array and loop

Task 1: Create a charter array of size 100 and input from user that containing character's pairs. Write a program that find pairs in an array, Count and display the charters if both characters (of a pair) are same. Make sure we don't know how many pairs are there in file. Use 1D arrays. User Input Ab ac aa be kk ik dk le on of th ir mm is at no Expected output: sameCharacters for given arrray would be: aa kk mm sameCharacters = 3 Task 2: Create a charter array of size 100 and input from user search those words in which number of vowels are greater than two and display those words. Also write down the starting index of that word. Example: User Input: My daughters ate eighteen reindeer steaks in dinner. Output: Vowels = daughters eighteen reindeer index = 01019 Note: starting index of daughters in vowels array is 0 starting index of eighteen in vowels array is 10 starting index of reindeer in vowels array is 19

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!