Assign 5 (int value) to 'num_one' variable;
Assign 4 (int value) to 'num_two' variable;
Print the sum of 'num_one' and 'num_two'.
Input:num_one, num_two.
Output: the sum.
Input | Output |
---|---|
5 4 | 9 |
Assign 7 (int value) to 'a' variable;
Assign 3 (int value) to 'b' variable;
Print the difference between 'a' and 'b'.
Input:a, b.
Output: the difference.
Input | Output |
---|---|
7 3 | 4 |
Assign 6 (int value) to 'a' variable;
Assign 8 (int value) to 'b' variable;
Print the multiplicand 'a' and 'b'.
Input:a, b.
Output: the multiplicand.
Input | Output |
---|---|
6 8 | 48 |
Assign 12 (int value) to 'a' variable;
Assign 3 (int value) to 'b' variable;
Print the division of a by b.
Input:a, b.
Output: the division.
Input | Output |
---|---|
12 3 | 4.0 |
Assign 7 (int value) to 'a' variable;
Assign 3 (int value) to 'b' variable;
Assign 5 (int value) to 'c' variable;
Print the sum of three variables 'a', 'b', 'c';
Input:a, b, c.
Output: the sum.
Input | Output |
---|---|
7 3 5 | 15 |
Assign 24 (int value) to 'a' variable;
Assign 3 (int value) to 'b' variable;
Assign 5 (int value) to 'c' variable;
Assign the result of the expression to variable 'k': ;
Print the variable 'k'.
Input:a, b, c.
Output: k.
Input | Output |
---|---|
24 3 5 | 26 |
Assign 5 (int value) to 'a' variable;
Assign 4 (int value) to 'b' variable;
Assign 8 (int value) to 'c' variable;
Print the result of the expression: .
Input:a, b, c.
Output: the result of the expression.
Input | Output |
---|---|
5 4 8 | 20.0 |
Assign 5 (int value) to 'a' variable;
Assign 4 (int value) to 'b' variable;
Assign 8 (int value) to 'c' variable;
Print the result of the expression: .
Input:a, b, c.
Output: the result of the expression.
Input | Output |
---|---|
5 4 8 | 2.5 |
Assign 8 (int value) to 'a' variable;
Assign 3 (int value) to 'b' variable;
Assign 2 (int value) to 'c' variable;
Assign 4 (int value) to 'd' variable;
Assign the result of the expression to variable 'k': ;
Print the variable 'k'.
Input:a, b, c, d.
Output: the result of the expression.
Input | Output |
---|---|
8 3 2 4 | 3 |
Assign 5 (int value) to 'a' variable;
Assign 4 (int value) to 'b' variable;
Assign 2 (int value) to 'c' variable;
Assign 8 (int value) to 'd' variable;
Assign the result of the expression to variable 'k': ;
Print the variable 'k'.
Input:a, b, c, d.
Output: Natijani chiqaring.
Input | Output |
---|---|
5 4 2 8 | 8 |