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
What should a web page designer consider when choosing between fixed positioning and absolute positioning?
nexus9112 [7]

Answer:

Fixed positioning is relative to the browser window, while absolute positioning is located at a specific place on a web page.

7 0
3 years ago
How long will my chromebook last if it is at 30 percent
Marta_Voda [28]

Answer:

You can see an estimated battery life time.

Explanation:

To see it simply put your mouse over the battery icon, don't click it and it should give you the life it has left in hours:minutes format.

5 0
3 years ago
A String variable, fullName, contains a name in one of two formats:last name, first name (comma followed by a blank), orfirst na
Volgvan

Answer:

#include <iostream>

using namespace std;

int main()

{

   char fullname[30];

   string fname="",lname="";

   int i,j;

   cout<<"Enter fullname\n";

   cin.getline(fullname,30); //so that blank can be read

   for(i=0;fullname[i]!=' ';i++)

       fname+=fullname[i];   //fistname will be saved

      cout<<"\n";

   for(j=i;fullname[j]!='\0';j++)

       lname+=fullname[j];    //lastname will be saved

   cout<<"\nFirstname : "<<fname<<"\nLastname : "<<lname;

   return 0;

}

OUTPUT :

Enter fullname

John thomson

Firstname : John

Lastname : thomson

Explanation:

cin.getline() should be used instead of cin in case of strings so that space can be read otherwise after blank string will be ignored.

8 0
3 years ago
___________is a standard for exchanging structured data over the web. It allows creating documents consisting of customized tags
svetlana [45]

Answer:

The answer is "XML"

Explanation:

Extensible Markup Language is a marking language, which specifies a collection of document. It uses the coding rules, which is readable for both man and computer.  

  • It is a scalable way of creating data formats and sharing structured data through the internet or private networks digitally.
  • It permits the development of custom tags to identify, transfer, verify and view data among apps and organizations.
6 0
3 years ago
Lukis gambar rajah blok yang menerangkan sistem mekatronik pada kipas siling automatik
storchak [24]
Do u speak English as I would love to help
4 0
2 years ago
Other questions:
  • You can delete any content control by ____ it, and then clicking remove content control on the menu that opens.
    5·1 answer
  • If you see ##### in a cell, you should
    10·1 answer
  • Angela recently purchased a new Android smartphone. While purchasing the phone, Angela was told that she would need to set up a
    11·1 answer
  • What is the output of the following code? stackList stack; int x, y; x = 2; y = 3; stack.push(8); stack.push(x); stack.push(x +
    6·1 answer
  • Who began digitizing books on a massive scale and putting them online?
    8·1 answer
  • Write a C program to calculate and display the coordinates of midpoint - M of a linesegment between two given points - say A and
    7·1 answer
  • How are satellite radio, Internet radio, and podcasting different?
    11·1 answer
  • Which company provides a crowdsourcing platform for corporate research and development?
    9·1 answer
  • About "How can computer help us in our life?​
    15·1 answer
  • How does naming affect a variable’s creation and use?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!