- 5

What am I missing??

Show price greater than AVG(price)

22nd Aug 2021, 11:14 AM
Martin
4 Respuestas
+ 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.
22nd Aug 2021, 11:30 AM
Slick
Slick - avatar
+ 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
22nd Aug 2021, 12:11 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
- 4
It won't let me add my code :(
22nd Aug 2021, 11:17 AM
Martin
- 4
Sorted it! :)
22nd Aug 2021, 11:21 AM
Martin