+ 4

Can any one give me tasks in for loop in c++?

28th Oct 2017, 2:30 PM
Naveed Ullah
Naveed Ullah - avatar
3 Answers
+ 27
Here an other one: 1. Write a function that gets a pointer to the First element of an arraylist and returns the number of value that the array contains. 2. Write a function that gets an array as input and writes all elements in screen seperated by tabulator. 3. Write a class Shoppinglist, with a arraylist shoppinglist and methods to add a shoppingelement, one method to mark one element as ready and one method that says how many elements are in the shoppinglist. Use (maybe different) loops to write that methods.
28th Oct 2017, 3:07 PM
Worm
Worm - avatar
+ 6
Okay I will give you one. Write a program that lists all the factors of a number
28th Oct 2017, 2:57 PM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar