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
Serjik [45]
3 years ago
8

4.2 Lesson Practice​

Computers and Technology
2 answers:
azamat3 years ago
6 0

Answer:

5

10

Explanation:

The first time the loop is entered, c is 0, then 5 gets added and 5 gets printed.

Next time the loop is entered, c is 5, then 5 gets added and 10 gets printed.

Third time the loop is not entered because c<10 is not true anymore.

Why would you not simply try this out on a python environment?

Stolb23 [73]3 years ago
4 0

Answer:

5 and 10

Explanation:

You might be interested in
What game is a great example of a story unfolding as the levels increase where the player learns more about the plight of the pr
Phantasy [73]
Fortnite and mario kart are good examples
4 0
3 years ago
Read 2 more answers
Samira recently opened an online potted plant store and needs to promote it. She chose Google Ads because it offers advertisers
Gemiola [76]

Answer:

Shopping campaigns, which promote her products by giving consumers detailed information about what she’s selling before they click her ad.

Explanation:

The campaign will give a prospective buyer an insight to what he/she is about to purchase, the quality and it purpose/relevance.

5 0
3 years ago
Read 2 more answers
As you will solve more complex problems, you will find that searching for values in arrays becomes a crucial operation. In this
sergeinik [125]

Answer:

#include<iostream>

using namespace std;

int main() {

cout<<"Enter The Size Of Array: ";

int size;

bool isBestCase=false;

cin>>size;

if(size<=0){

cout<<"Error: You entered an incorrect value of the array size!"<<endl;

return(0);

}

int array[size], key;

cout<<"Enter the numbers in the array, separated by a space, and press enter:";

// Taking Input In Array

for(int j=0;j<size;j++){

cin>>array[j];

}

//Your Entered Array Is

for(int a=0;a<size;a++){

cout<<"array[ "<<a<<" ] = ";

cout<<array[a]<<endl;

}

cout<<"Enter a number to search for in the array:";

cin>>key;

for(i=0;i<size;i++){

 if(key==array[i]){

   if(i==0){

     isBestCase=true; // best case scenario when key found in 1st iteration

     break;

   }

 }

}

if(i != size){

 cout<<"Found value "<<key<<" at index "<<i<<", which took " <<++i<<" checks."<<endl;

}  else{

 cout<<"The value "<<key<<" was not found in array!"<<endl;

 cout<<"We ran into the worst-case scenario!"; // worst-case scenario when key not found

}

if(isBestCase){

cout<<"We ran into the best case scenario!";

}

return 0;

}

Explanation:

The C++ source dynamically generates an array by prompting the user for the size of the array and fills the array with inputs from the user. A search term is used to determine the best and worst-case scenario of the created array and the index and search time is displayed.

5 0
3 years ago
A ____ is harmful computer code that spreads without your interaction, slipping from one network to another and replicating itse
blondinia [14]
Malware is the answer

3 0
4 years ago
People who connect one network to another within the company or even across organizations are A. central connectors. B. boundary
Lunna [17]

People who connect one network to another within the company or even across organizations are boundary spanners.  

People who serve as ambassadors to linking information and communications on informal networks within different department in an organisation and with other organisations or personnel  far and near for the good of their organisation are called Boundary Spanners.

The importance of Boundary  spanning in organisation includes

  • Exchange of expertise information
  • Nurturing of connections with people from different part s of the world.
  • Improved innovation in businesses

See more here: brainly.com/question/14728967

5 0
3 years ago
Other questions:
  • Which best describes the difference between stocks and bonds ?
    8·2 answers
  • When you want to print a page from the World Wide Web, select the print command in the _____.
    8·2 answers
  • Which VPN protocol does not support using Password Authentication Protocol (PAP), Challenge Handshake Authentication Protocol (C
    14·1 answer
  • 1. Suppose a process in Host C has a UDP socket with port number 6789. Sup- pose both Host A and Host B each send a UDP segment
    5·1 answer
  • Which type of address is used at the transport layer to identify the receiving application?
    14·1 answer
  • Nina is 12 years old. She has just changed her password and wants to make sure she has it in case of
    15·2 answers
  • Sam wants to use the rule of thirds to capture the essence of his image. How will he apply this rule in his image to get a pleas
    6·1 answer
  • Select the variable that illustrates the ratio scale of measurement. (a) gender (b) weight (c) political party affiliation (c) r
    13·1 answer
  • Realiza una tabla acerca de los escenarios de usos más comunes de Excel.
    15·1 answer
  • What is Colby Knox known for?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!