write c++ code that has a function int GreaterThan (int array [], int size, int searchItem). The fucntion should count and return number of elements in the array greater than SearchItem. you are free to generate the element randomly or let the user enter them, the size must be less than ten
lehlohonolo.mohaila
0
Newbie Poster
Recommended Answers
Jump to PostThe logic is given, now do this in code. I'm pretty sure you can do this yourself first. If you get stuck and need help you can surely come here and post your code.
Jump to PostRead an array of integers of 20 values
then do the following processes :
1- delete all prime and all even numbers from the array and store them in a new array then display the values of the new array on screen.
2- after you delete all prime and all …
Jump to Posthelp me pleas!!!
Jump to PostWhat do you need help with? What code do you have so far? If "help me please" is slang for "give me code" then you will find no one is going to "help" you.
Jump to PostYou're spoonfeeding the answer to what is clearly a homework assignment to somebody who doesn't want to do any of the programming themselves. This is the reason so many people can get CS degrees without even knowing how to do FizzBuzz. I hope his professor is at least smart enough …
All 19 Replies
kal_crazy
13
Junior Poster
omar.shakaa.9
0
Newbie Poster
omar.shakaa.9
0
Newbie Poster
NathanOliver
429
Veteran Poster
Featured Poster
UFOOOOOOOOOOO
-2
Newbie Poster
NathanOliver
commented:
Why would you just give him a solution?
-2
UFOOOOOOOOOOO
-2
Newbie Poster
Tumlee
42
Junior Poster in Training
UFOOOOOOOOOOO
-2
Newbie Poster
NathanOliver
429
Veteran Poster
Featured Poster
UFOOOOOOOOOOO
-2
Newbie Poster
NathanOliver
429
Veteran Poster
Featured Poster
richieking
44
Master Poster
Jamblaster
15
Newbie Poster
lehlohonolo.mohaila
0
Newbie Poster
lehlohonolo.mohaila
0
Newbie Poster
lehlohonolo.mohaila
0
Newbie Poster
lehlohonolo.mohaila
0
Newbie Poster
lehlohonolo.mohaila
0
Newbie Poster
happygeek
2,411
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.