1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Harman [31]
3 years ago
7

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
Computers and Technology
1 answer:
Sveta_85 [38]3 years ago
6 0
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:
<span>person_name=input('user input into person_name') person_age=int(input('user input into person_age'))
</span>
You might be interested in
What would be used by a business to assess how the business is working within its organization goals? O A. Information systems B
gulaghasi [49]

Answer:

Management plan

Explanation:

3 0
3 years ago
Write a c++ program that generates three random numbers. The first number should be between 0-30, the second number should be be
Rama09 [41]

Answer:

#include <stdlib.h>

#include <time.h>  

#include <iostream>

using namespace std;

int main() {

   srand(time(NULL));

   cout << rand() % 30 << endl;

   cout << rand() % 30 + 30 << endl;

   cout << rand() % 30 + 60 << endl;

}

Explanation:

rand() returns a pseudo-random integral number in the range between 0 and RAND_MAX. By applying the modulo operator, you map that to the desired range (30 in your case), then you add an offset.

8 0
3 years ago
Sample program for Do While loop<br><br> Qbasic
Ganezh [65]

Answer:

A "Do While" loop statement runs while a logical expression is true.

Explanation:

This means that as long as your expression stays true, your program will keep on running. Once the expression is false, your program stops running. A "Do Until" loop statement runs until a logical statement is true.

7 0
2 years ago
Read 2 more answers
Anyone have good websites to cure boredom
Sav [38]

Answer:

cool math if its not blocked

Explanation:

6 0
3 years ago
Read 2 more answers
David writes an essay as part of an assignment at school. He wants to indent the first lines of several paragraphs. With a word
Fudgin [204]
The answer is self explanatory, B
5 0
3 years ago
Read 2 more answers
Other questions:
  • The disk drive is a secondary storage device that stores data by _____ encoding it onto a spinning circular disk.
    14·1 answer
  • A card ____ is a device that reads data, instructions, and information stored on flash memory cards.
    8·1 answer
  • which of the following is the term used for a set of programs that acts as an interface between the applications that are runnin
    7·1 answer
  • Gloria is in her sophomore year of college and works part time. She has assignments saved on her home computer, her aunt's lapto
    6·2 answers
  • Write an if statement that prints the message ""The number is not valid"" if the variable distance is outside the range 100 thr
    8·1 answer
  • How many lines of text are in your questionnaire document
    5·1 answer
  • What program command saves a copy of a file under a different name
    14·1 answer
  • An electronic element that stores data by changing its resistance based on the current that has passed through it (similar to RR
    5·1 answer
  • What is contained in the Open Files section of Shared Folders? ​
    13·1 answer
  • 7. There are different tools needed in repairing computer, which of the following categories does parts retriever, screw driver,
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!