Evaluating a basic arithmetic expression with multiple operators.
ID: 1177
using uCalcSoftware;
var uc = new uCalc();
Console.WriteLine(uc.EvalStr("10 * 5 + 3"));
53 using uCalcSoftware; var uc = new uCalc(); Console.WriteLine(uc.EvalStr("10 * 5 + 3"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
cout << uc.EvalStr("10 * 5 + 3") << endl;
}
53 #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; cout << uc.EvalStr("10 * 5 + 3") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Console.WriteLine(uc.EvalStr("10 * 5 + 3"))
End Sub
End Module
53 Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Console.WriteLine(uc.EvalStr("10 * 5 + 3")) End Sub End Module