matuda.
❔ Loop problem, beginner difficulty
File: Program.cs
Results:
Compilation completed successfully.
Test 1: The sum is correctly determined for the string of a number (3 x) - success
Test 2: The sum is correctly determined for the string of 2 numbers (3 2 x) - failed
Expected results: "5"
Results obtained: "2.5"
The submitted solution does not work correctly for a string consisting of two numbers.
9 replies