Question: 8 8 / assignments / 4 9 3 5 2 7 darr Download A Alternative f Ahmed COMP 4 3 1 1 Programming Languages Homework
assignments
darr Download
A Alternative f
Ahmed
COMP Programming Languages
Homework
Date Due: January at : PM
Using write a function that reverses the order of the words in a string. For instance, your function should transform the string Do or do not, there is no try" to "try no is there not do or Assume that all words are space delimited and treat punctuation the same as white spaces
Using define an integer array eg size is and a target number eg assign the array with random numbers in then define a function to find all unique number pairs of the array such that each pair of the numbers adds up to the target number. Print the number pairs and their original indices in the array. For example, given array target the number pairs are and Their index info is and
Handing in your assignment: Upload your individual CPP files to eCourses by the due date. Also, upload a screenshot of your console output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
