+ 1
How does this code works
How it showed Not Found ? How it showed Both Found ? How it showed 50 Found ? How it showed 100 Found ? https://code.sololearn.com/WLAp13QWrpPK/?ref=app
1 Réponse
0
it's simple
first we decleare array and elements. then
assign variable named display and assign string Not Found to that variable.
then by the use of for loop we go through the array elements using condition of array indec is less than array Length value.. nd perform a if condition
if already variable display have value of Not found then it change it to Value found else it display both