
An API provides you a readymade method to display a DialogBox with a message and a text input field, and returns you whatever the user types in that input box. The method signature is: String takeUserInput(String message) You want to use this DialogBox to ask the user for the number of children he has and give him Rs 300/- as education allowance for each children. Write a single line of code to print the amount he should be paid as allowance.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.