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
posledela
3 years ago
9

Retype and run, note incorrect behavior. Then fix errors in the code, which should print num_stars asterisks.

Computers and Technology
1 answer:
Paul [167]3 years ago
8 0

Answer:

the answer is 2.3

Explanation:

You might be interested in
Which aspect of nature inspired the invention of Velcro
lesya692 [45]

Burrs from plants (APEX)

8 0
4 years ago
A cashier distributes change using the maximum number of five dollar bills, followed by one dollar bills. For example, 19 yields
Alex Ar [27]

Answer:

Written in Python:

dollars = int(input("Amount: "))

numFive = int(dollars/5)

numOnes = dollars%5

print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")

Explanation:

This line prompts user for input

dollars = int(input("Amount: "))

This line calculates the number of 5 that can be gotten from the input. This is done using integer division

numFive = int(dollars/5)

This line gets the remaining ones. This is done by using the modulo sign to get the remainder when input is divided by 5

numOnes = dollars%5

This line prints the required output

print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")

4 0
3 years ago
Write an algorithim and flowchart to check it the temperature is more than 25°. If it more than 25°C switch fan on else off.​
Marianna [84]

Answer:

write the sly flowchart

Explanation:

#stdlib.etc

main()
{

    int temp;
    bool fan = false;

    print("enter the frigin temperature: ");

    read(temp);

    if (temp > 25)

     {
         fan = true;
         print("the fan is on");
     }
     else
      {

           print("the fan is off");

      }

      return 0;

}

8 0
3 years ago
Match each word to its correct meaning.
Juli2301 [7.4K]

Answer:

1. Computer Network - a group of computers that are  Interconnected in order to share  Information or documents  the component in the body of the  computer that stores all of your files and  folders

2. CPU - the central processing unit or part  Inside the body of the computer that  enables the computer to function, sometimes referred to as the brain of the  computer

3. Hard Drive - The componet in the body of the computer that stores all of your files and folders

4. Hardware - Physical parts of the computer or technical equipment

5. Internet - Interconnected computer networks throughout the world that everyone can use

6. Laptop - A small mobile computer

7. Motherboard - The main board in the body of the computer that contains chips and other compnents

8. Software - A computer program or a set of instructions for the hardware to perform

8 0
3 years ago
To what would you compare the transport layer?
GarryVolchara [31]
The above question has multiple choices as below

<span>A. Data links
B. The post office
C. Driving a car
D. A train

The answer is (B) The Post Office.

In layman’s terms, transport layer is similar to the post office functions of delivering parcels and letters at the agreed delivery deadlines. It also notices any dropped info and re-transmits it.
Just like the post office, the transport layer directs messages and information between specific end users. If by mistake you write a letter to the wrong person, the letter will be returned and the postal employee will stamp it as address unknown.

</span>
4 0
3 years ago
Other questions:
  • The =COUNT function calculates what value?
    5·2 answers
  • What do you think is the most fascinating aspect of the internet?
    14·1 answer
  • Summarizes statistical data ?
    11·1 answer
  • Need some personal advice here.
    12·2 answers
  • Describe how computer become <br> in the next 35 year
    5·1 answer
  • Write a function that parses a binary number into a hex number. The function header is:def binaryToHex(binaryValue)Write a test
    11·1 answer
  • Recent advances in information technologies (IT) have powered the merger of online and offline retail channels into one single p
    10·1 answer
  • Describe the three essential characteristics of an object fromthe perspective of object oriented paradigm.
    7·1 answer
  • "What router feature provides basic security by mapping internal private IP addresses to public external IP addresses, essential
    10·1 answer
  • Cora is writing a program to make a motorcycle racing game. If Cora wants to speed of the motorcycle to appear on the screen whe
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!