You can use only these 2 commands and the new command triangle_rayu()
to complete this task.
enter_kottu();
sentence_rayu(" *");
Add this code before START
:
gaadidhaguddu triangle_rayu();
Add this code after STOP
:
// type the triagle with stars
// *
// ***
// *****
gaadidhaguddu triangle_rayu()
{
}
Complete the new command and make the computer type the following output.
*
***
*****
*
***
*****
*
***
*****
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
.