- 1

Winner lottery cpp problem Give me answer

A local supermarket is running a promotion: each Nth customer will receive one item for free. Customers names are sequentially given as array of strings (see template). Write a function that receives the array of customers, its size, and the N number as arguments, and prints the names of the lucky customers each in a new line. Sample Input 3 Sample output Rayan Bruce Richard Mary

25th Oct 2022, 2:07 AM
Hajra Khattak
Hajra Khattak - avatar
1 Answer
+ 2
Pls note this section is intended for programming related questions, not to assign tasks to other users. If you need help, include in the question description a link to your code in Code Playground and an explanation of your difficulties.
25th Oct 2022, 2:16 AM
Emerson Prado
Emerson Prado - avatar