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
Vladimir [108]
3 years ago
12

The variable planet_distances is associated with a dictionary that maps planet names to planetary distances from the sun. Write

a statement that deletes the entry for the planet name "Pluto".

Computers and Technology
1 answer:
levacccp [35]3 years ago
6 0

Answer:

Check the attached image

Explanation:

Check the attached image

You might be interested in
Write a program that accepts an integer value called multiplier as user input. Create an array of integers with ARRAY_SIZE eleme
Tasya [4]

Answer:

The program in C++ is as follows:

#include <iostream>

using namespace std;

void PrintForward(int myarray[], int size){

   for(int i = 0; i<size;i++){        cout<<myarray[i]<<" ";    }

}

void PrintBackward(int myarray[], int size){

   for(int i = size-1; i>=0;i--){        cout<<myarray[i]<<" ";    }

}

int main(){

   const int ARRAY_SIZE = 12;

   int multiplier;

   cout<<"Multiplier: ";

   cin>>multiplier;

   int myarray [ARRAY_SIZE];

   for(int i = 0; i<ARRAY_SIZE;i++){        myarray[i] = i * multiplier;    }

   PrintForward(myarray,ARRAY_SIZE);

   PrintBackward(myarray,ARRAY_SIZE);

   return 0;}

Explanation:

The PrintForward function begins here

void PrintForward(int myarray[], int size){

This iterates through the array in ascending order and print each array element

<em>    for(int i = 0; i<size;i++){        cout<<myarray[i]<<" ";    }</em>

}

The PrintBackward function begins here

void PrintBackward(int myarray[], int size){

This iterates through the array in descending order and print each array element

<em>    for(int i = size-1; i>=0;i--){        cout<<myarray[i]<<" ";    }</em>

}

The main begins here

int main(){

This declares and initializes the array size

   const int ARRAY_SIZE = 12;

This declares the multiplier as an integer

   int multiplier;

This gets input for the multiplier

   cout<<"Multiplier: ";    cin>>multiplier;

This declares the array

   int myarray [ARRAY_SIZE];

This iterates through the array and populate the array by i * multiplier

<em>    for(int i = 0; i<ARRAY_SIZE;i++){        myarray[i] = i * multiplier;    }</em>

This calls the PrintForward method

   PrintForward(myarray,ARRAY_SIZE);

This calls the PrintBackward method

   PrintBackward(myarray,ARRAY_SIZE);

   return 0;}

6 0
3 years ago
You are working at Walmart when a shipment of tee shirts is delivered, the manager asked you to arrange the shirts on the rack b
madreJ [45]

this would be arranging by size. Small < Large usually

6 0
3 years ago
To include a table into a document, a user will need to navigate to the _____ tab.
Ugo [173]
Insert Tab! Hope this helped! ;)
5 0
3 years ago
Read 2 more answers
25 points!!!!!!!!!!!!!!!!!!!!!
Wittaler [7]

Answer:

thank u appreciate it

Explanation:

4 0
3 years ago
Read 2 more answers
How many layers are there in the osi reference model?.
RSB [31]
There are 7 layers in the osi reference model.
8 0
2 years ago
Other questions:
  • Technician A says that the excessive length of a heater hose is intended to protect the heater core from undue stress. Technicia
    5·1 answer
  • A software program that allows a programmer to type in code. modern versions usually make it easy to format the code on the scre
    13·1 answer
  • Match the items.
    15·1 answer
  • Page _____ refers to whether a page is laid out vertically or horizontally.
    12·1 answer
  • Question 4 / 5
    11·1 answer
  • A network technician is able to connect the switches between two offices, but the offices cannot communicate with each other, as
    5·1 answer
  • Xercise 1<br>1.<br>What is system? Explain the components of system in brief.​
    12·1 answer
  • PLZ ANSWER ASAP WILL GIVE BRAINLIEST
    6·1 answer
  • Write a flowchart and C code for a program that does the following: Uses a do...while loop. Prints the numbers from 1 to 10 with
    13·1 answer
  • Can someone help me debug this please
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!