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

  • Can only download one podcast at a time without itunes freezing...

    Having never had any major problems with itunes before, it has suddenly started freezing when I set any podcasts downloading. If I set one podcast downloading, it will continue to work as normal (although navigating the menus on the left hand side wi

  • Program does not break at breakpoint inside stored procedure

    I am using VS 2013 and SQL Server 2012 calling a stored procedure from a C# program. I have a breakpoint set inside the stored procedure, however execution does not stop on it. When my program is running, the breakpoint is hollow (not solid red) and

  • Can I create a site in Muse and export to Word Press?

    Can I create a site in Muse and export to Word Press?

  • Postings in FB01 transaction

    Hello friends,i have an urgent requirement to post the AR,AP and G/l account's . Currently there exists a bdc program to perform the above job but the program has been a dependent on the file format  i.e, if i give the file sequence as for ar 01 , 50

  • Trouble with CS5 InDesign Paragraph Styles

    I am creating a new template. I want one style to be "TOC Title", and another to be "TOC Level 1". All my concerns center around the Paragraph Style Options window (Type > Paragraph Styles > Create New Style >(double-click style to modify)  ) 1. No m