- 5
What am I missing??
Show price greater than AVG(price)
4 Answers
+ 1
Only add relevant tags, and it will let you add your code. Make your code in the playground, save it, copy a link to it, and paste it in the description.
+ 2
Your question is not clear may be you want like this
Suppose you have decleared two variables AVG and price. first you have to enter prices then you need calculate the average.
After that to check less than greater than you can use if else conditional statements
Like this
if(AVG>price)
Do whatever you want
- 4
It won't let me add my code :(
- 4
Sorted it! :)