Write a program to accept numbers in a single dimensional array of size ‘N’. Create another string array of size ‘N-1’ to accept valid mathematical symbols like (+, -, /, %, *…). Calculate and display the result by performing the operations by using the symbols stored in the string array on the values stored in the integer array.
Example:
int Arr[]={1,2,3,4}
String Sym[]={“+”,”/”,"*”}
The result is 4. ((1+2)/3)*4
HELP!! |
|
| asked by Shreya Bhagat (hermione02) 8 years ago | |
1 | |
Other Questions on This Topic
Chhod aaye the kinara kabhi apni talash mein, Par dil ki gehrayi se ek aisi aawaz aayi, Ki lautna pada hamein isi mod ki talash mein. |
|
| asked by Nisarg Bhavsar (nisarg71) 78 days ago | |
2 | |
Bengali grammar icse question paper can I get? |
|
| asked by Debosmita Malik (debosmitamalik) 132 days ago | |
1 | |
I wish to download question papers for ICSE prelims and I cannot do that. Can you provide the details of the Customer support for Respaper to get in touch with regarding the issue mentioned above. |
|
| asked by S.Hemalata Rajaram (hema1877) 235 days ago | |
1 | |

