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
Oksi-84 [34.3K]
3 years ago
11

Assume that isIsosceles is a bool variable, and that the variables isoCount, triangleCount, and polygonCount have all been decla

red and initialized. Write a statement that adds 1 to each of these count variables (isoCount, triangleCount, and polygonCount) if isIsosceles is true.
Please help me complete this. I have been struggling for quite some time and need help with a explanation. But mainly I need the answer. Thank you.
Computers and Technology
1 answer:
Leona [35]3 years ago
6 0

Answer:

if (isIsosceles) {

 isoCount++;

 triangleCount++;

 polygonCount++;

}

Explanation:

The above will work in C/C++/Java/JavaScript, but you didn't specify which language you need. Anyway the principle stays the same.

You might be interested in
The picture that graphically represents the items you use in Windows is called a/an <br> ___?
jasenka [17]
The picture that graphically represents the items you use in Windows is called an icon. 
8 0
3 years ago
Which of the following statements is false? a. InputStream and OutputStream are abstract classes for performing byte-based I/O.
Bond [772]

Answer:

The answer is "Option b".

Explanation:

Tubes were streams among processes, that are interconnected. It is coordinated ways to communicate between threads, that's why the only option b is wrong, and the correct choice can be defined as follows:

  • In option a, the byte-based I/O the input and output stream abstract class is used, that's why it correct.
  • In option c, It is used to provide additional functionality, that's why it correct.  
  • In option d, It is used to provide the text output.
7 0
3 years ago
Explain the nature of documents that can be suitable for mergin
sveta [45]
Asldfjasjdkflajfasjdf;laksjdf;kljas
5 0
3 years ago
The memory capacity in bits for performing the operation y = f (x) using the table lookup method, where x is an 8-bit number and
Flura [38]

Answer:

The page field is 8-bit wide, then the page size is 256 bytes.

Using the subdivision above, the first level page table points to 1024 2nd  level page tables, each pointing to 256 3rd page tables, each containing 64 pages. The program's address space consists of 1024 pages, thus we need we need 16 third-level page tables. Therefore we need 16 entries in a 2nd level page table, and one entry in the first level page table. Therefore the size is: 1024 entries for the first table, 256 entries for the 2nd level page table, and 16 3rd level page table containing 64 entries each. Assuming 2 bytes per entry, the space required is 1024 * 2 + 256 * 2 (one second-level paget table) + 16 * 64 * 2 (16 third-level page tables) = 4608 bytes.

First, the stack, data and code segments are at addresses that require having 3 page tables entries active in the first level page table. For 64K, you need 256 pages, or 4 third-level page tables. For 600K, you need 2400 pages, or 38 third-level page tables and for 48K you need 192 pages or 3 third-level page tables. Assuming 2 bytes per entry, the space required is 1024 * 2 + 256 * 3 * 2 (3 second-level page tables) + 64 * (38+4+3)* 2 (38 third-level page tables for data segment, 4 for stack and 3 for code segment) = 9344 bytes.

Explanation:

16 E the answer

5 0
3 years ago
Which is true for a hosted blog software
professor190 [17]
Since you have not provided the choices wherein I will have to choose from to arrive at an answer, I will just explain to you the concept revolving around a hosted blog software. Hosted blog software are basically installed by the owner of the web server in which among its famous platforms is the Blogger.
7 0
3 years ago
Read 2 more answers
Other questions:
  • SQL a. has become the de facto standard database language b. can be used to define database systems c. both a. and b. d. none of
    10·1 answer
  • What was the ENIAC computer and how was it used/what for?
    9·1 answer
  • Select
    14·1 answer
  • The term computer ________ is used to describe someone who is familiar enough with computers to understand their capabilities an
    12·1 answer
  • What are the properties of magnetic field​
    8·1 answer
  • In terms of object-oriented programming, after a class is defined,
    11·1 answer
  • What area on the Microsoft® Publisher® application screen shows the name of the publication?
    9·1 answer
  • The instructions for a computer program are sometimes referred to as . computer programmers focus on computer programs, but they
    5·2 answers
  • Consider the following class definition.
    7·1 answer
  • with the advent of technology one can experience special features such as 3D theater experiences true or false
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!