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
Katen [24]
3 years ago
10

Imagine you are writing a personal fitness program that stores the user's age, gender, height (in feet or meters), and weight (t

o the nearest pound or kilogram). Declare variables with the appropriate names and types to hold this information. Write a complete variable declaration statement with the type, the variable name, and a semicolon.
Computers and Technology
1 answer:
nata0808 [166]3 years ago
5 0

Answer:

Following are the declaration with the datatypes

int age; // variable age of int types

boolean gender; // variable gender of boolean type

double height; // variable height of double types

int weight; // variable weight of int types

Explanation:

Here we writing a personal program that store the age,gender,height,weight.

age of type integer because age are in integer value.

gender is type of boolean because boolean is return true or false .

height is type of double because height may be in floating value.

weight is type of integer because weight are in integer value.

You might be interested in
Haniyah drew a beautiful pencil sketch of a scenery. Her computer teacher asked her to convert it into a digital form and post i
Aleksandr-060686 [28]

Scanner.

<em> </em>A <em>scanner</em> is an input device that scans documents such as photographs and pages of text, when a document is scanned, it is converted into a digital format.

4 0
3 years ago
Is Microsoft Publisher a desktop publishing app?
ladessa [460]

Answer:

yes

Explanation:

Publisher is a desktop publishing application that helps you create visually rich, professional-looking publications. With Publisher on your PC, you can: Lay out content for a print or online publication in a variety of pre-designed templates.

3 0
3 years ago
Read 2 more answers
Which enables users to try an application before they commit to buying it?
adelina 88 [10]

Answer:

shareware

Explanation:

It is the shareware, which is available for free for a certain period, and after that, the actual fee is charged for continued usage. The public domain is free from copyright, patent or trademark laws, and is the public property. The open-source is the free code of software that is available with code for the whole developer community. And it is shared among all the developers. And the developer can be anybody. The freeware is the software that is provided free of cost by the publisher. And there is no set of rights, licenses or EULA that governs its distribution, and each publisher frames his own set of rules for the usage of the freeware.

8 0
3 years ago
Read 2 more answers
The internet has made worldwide access to networks and information simpler and faster. This access comes with both benefits and
igor_vitrenko [27]
Information will be easier to access, but that info has a slight chance of being downright wrong. Also, very technical info will be unavailable.
6 0
3 years ago
What is the output of the following code segment? int n = 0; for (int k = 0; k&lt; 2; k++) {n=n +2;} cout &lt;&lt; n; oo 0 1 O O
inn [45]

Answer:

4

Explanation:

The loop is used to execute the part of code or statement again and again until a condition is not true.

syntax of for loop:

for(initialize; condition; increment/decrement){

   statement;

}  

in the question, the value of n is zero.

then, for loop check the condition k<2, initially the value of k is zero. so, the condition is true and execute the code n = 0 +2=2

Then, k is increment by 1. so, the value of k is 1.

then, again loop run and check the condition 1<2, it true. then n = 2+2=4.

then, k is increment by 1. so, the value of k is 2.

Then, again check the condition 2<2, condition false and program terminate the loop and finally print the value 4.

7 0
4 years ago
Other questions:
  • ) A byte is used to represent a single character in the computer ______<br> true or false?
    14·2 answers
  • What type of mitigation provision is utilized when redundant communications links are installed?
    8·1 answer
  • Eric walks 7 km East in 2 hours and then 2.5 km West in 1 hour.
    13·1 answer
  • What is the area of a triangle whose base is 14 m and whose height is 22 m?
    7·1 answer
  • When green, this signal means __________ A. yield to pedestrians and vehicles that are still in the intersection. B. you have th
    12·2 answers
  • which one of these steps describe saving a newly created file. click on the save icon. minimize the file. name the file. select
    12·2 answers
  • Which of the following statements is not true? Group of answer choices
    9·1 answer
  • _____ maintains consistency among data flow diagrams (dfds) by ensuring that input and output data flows align properly.
    12·1 answer
  • Which device acts as a gateway to allow hosts to send traffic to remote ip networks?
    14·2 answers
  • Please help me!! i’m so confused on this
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!