I am developing math question and answer app, and i will like to add superscript to some

maths equations like the one below

Question 11 1 (1) +2 (2) +3 (3) +...+10 (10) is divided by 5. What is the remainder?

String questions [] = {"Question 11 1 (1) +2 (2) +3 (3) +...+10 (10) is divided by 5. What is the remainder? ",};

My question is I will like to make the numbers in the brackets superscript, how can i achieve this in a java

maths equations like the one below

Question 11 1 (1) +2 (2) +3 (3) +...+10 (10) is divided by 5. What is the remainder?

String questions [] = {"Question 11 1 (1) +2 (2) +3 (3) +...+10 (10) is divided by 5. What is the remainder? ",};

My question is I will like to make the numbers in the brackets superscript, how can i achieve this in a java