P
P
ProblemBook.NET
Search…
⌃K
P
P
ProblemBook.NET
Search…
⌃K
ProblemBook.NET
LANGS
Задачник.NET
Math
«AugmentedAssignment» (Задача)
«Rounding1» (Задача)
«Overflow» (Решение)
«Overflow» (Задача)
«DivideByZero» (Решение)
«DivideByZero» (Задача)
«Eps» (Решение)
«DynamicIncrement» (Решение)
«Eps» (Задача)
«DynamicIncrement» (Задача)
«Rounding2» (Решение)
«AugmentedAssignment» (Решение)
«Rounding1» (Решение)
«Rounding2» (Задача)
Oop
ValueTypes
Strings
Linq
Multithreading
Summary
Введение
ProblemBook.NET
Attribution-NonCommercial-NoDerivatives 4.0 International
Powered By GitBook

«Rounding2» (Задача)

Что выведет следующий код?
Action<int,int> print = (a, b) =>
Console.WriteLine("{0,2} = {1,2} * {2,3} + {3,3} ",
a, b, a/b, a%b);
Console.WriteLine(" a = b * (a/b) + (a%b)");
print(7, 3);
print(7, -3);
print(-7, 3);
print(-7, -3);
​Решение​
Previous
«Rounding1» (Решение)
Next
Oop
Last modified 3yr ago
Copy link