Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -3,13 +3,13 @@ import extensions;
|
|||
|
||||
public program()
|
||||
{
|
||||
var a := console.loadLineTo(new Integer());
|
||||
var b := console.loadLineTo(new Integer());
|
||||
var a := Console.loadLineTo(new Integer());
|
||||
var b := Console.loadLineTo(new Integer());
|
||||
|
||||
console.printLine(a," + ",b," = ",a + b);
|
||||
console.printLine(a," - ",b," = ",a - b);
|
||||
console.printLine(a," * ",b," = ",a * b);
|
||||
console.printLine(a," / ",b," = ",a / b); // truncates towards 0
|
||||
console.printLine(a," % ",b," = ",a.mod(b)); // matches sign of first operand
|
||||
console.printLine(a," ^ ",b," = ",a ^ b);
|
||||
Console.printLine(a," + ",b," = ",a + b);
|
||||
Console.printLine(a," - ",b," = ",a - b);
|
||||
Console.printLine(a," * ",b," = ",a * b);
|
||||
Console.printLine(a," / ",b," = ",a / b); // truncates towards 0
|
||||
Console.printLine(a," % ",b," = ",a.mod(b)); // matches sign of first operand
|
||||
Console.printLine(a," ^ ",b," = ",a ^ b);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue