If you correctly recall the elementary trick for order of operations, solving this problem should be a breeze.
Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms (Nuget, Maven, CMake). Supports .NET Framework, .NET Core, .NET Standard, Xamarin, and more ...