I have one query. I have written a code to generate a table with the details shown below
Apple
Orange
Mango4
Banana
Lichi 5
so the requirement is if mango comes first in table then number 4 as superscript will get assigned to it and if Lichi comes first then number 4 is assigned to Lichi. if both comes in table then which ever comes first will get assigned the number 4 and then next will get assigned as number 5.
Any suggestion
I need the code for it
New contributor
prashant priyadarshi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.