GUVI
Back

HTML - 48 JAVASCRIPT ARRAY - TESTCASES NOT PASSED

Created 2 years ago
75 Views
3 Comments
BhargaviPYAQ2J
@BhargaviPYAQ2J
BhargaviPYAQ2J
@BhargaviPYAQ2JProfile is locked. Login

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?

Comments (3)
Please login to comment.
 
Powered by habitate.io Habitate