Given an array, Print the elements which are greater than 5 in acending order from that numbers using javascript. if input is 45, 4, 9, 16, 25 Use ',' to separate numbers and Print use the fun() function to process !
I have attempted it and to my knowledge i got the answer right but the test cases are not passed.
My Input : 45,5,6,7,1
My Output: 6 7 45
Can you guys please explain why the test cases are failed?