You can use these 3 commands only.
number_rayu(42);
enter_kottu();
sentence_rayu("Relentless commitment.");
Extend the program to make the computer type as follows.
The sum of 5 and 3 is 8.
3 substracted from 5 is 2.
The product of 5 and 3 is 15.
5 divided by 3 the quotient is 1.
5 divided by 3 the remainder is 2.
To get the first line in the output, we can use commands in the following manner.
sentence_rayu("The sum of 5 and 3 is ");
number_rayu(5+3);
sentence_rayu(".");
enter_kottu();
Write the remaining code in similar fashion.
Using -
, *
, /
, %
.
+
Addition
-
Substraction
*
Multiplication
/
Quotient
%
Remainder
Once you got the expected output. Submit your code.
When you submit it will prompt you to view test cases.
Click Run tests
button.
Once tests pass click on Submit
.