How to Change String back to math symbol for calculation??

Hi,
How to Change String back to math symbol for calculation to achieve this coding. it's for a for loop
int a;
String sym0 = "+";
String sym1 = "-";
String sym2 = "*";
String sym3 = "/";
for (int i=0; i<=3; i++)
a = 45 sym0 74;
}

There is no method to achieve this...aa far as I am aware of.

Similar Messages

Maybe you are looking for

  • Color changes in preview

    Hello, I'm so tired trying to figure out the reason of a problem in Premiere Pro (my version is 6.0.4). I'm very frustrated just because I've spent too much time trying to solve the problem which is so ridiculous! What I'm doing is just trying to col

  • How do I assign a numeric value to an alpha character within a form and still run a total?

    I am trying to build an attendance sheet where P=Present, A=Absent and so on.  I've created the summary field correctly however the individual fields will only take numeric characters.  I would like for the user to be able to enter P, the P stay ther

  • Getting error while generating report from Siebel (Siebel/BI Publisher)

    Dear, I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server. But now I am facing two issues, I am getting error "Unauthorized access, Pleas

  • How to use stored procedures in AJAX operations?

    Hi, First of all I hope this is the right place to post my question. I am creating an application which involves AJAX style update of a specific page. I managed to make it work via the "classical JavaScript calling an On Demand Application Process th

  • BIOS SETTING, need help! MAXIMUM PAYLOAD SIZE? NEO4 PLAT SLI

    Hi everyone, this is my first post here, and hope someone will help me out.  I've searched the internet, posted on other websites and no one can help me with this question.  What does MAXIMUM PAYLOAD SIZE do?  What is the correct setting for this?  C