155k views
3 votes
Type two statements. The first reads user input into person_name. The second reads user input into person_age. Below is a sample output for the given program if the user's input is: Amy 4

1 Answer

3 votes
How to answer this question really depends on the programming language.

In Delphi for example, you could have two text boxes, one for person_name and one for person_age:

person_name := textbox1.text;
person_age := StrToInt(textbox2.text);

In Delphi:
person_name=input('user input into person_name') person_age=int(input('user input into person_age'))

User Sunnyday
by
6.0k points