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
Valentin [98]
3 years ago
13

What caused accident? into passive voice​

Computers and Technology
1 answer:
lozanna [386]3 years ago
6 0
Accident was caused by what
You might be interested in
Identify a true statement to determine the number of columns in a web table.
Rainbow [258]
B (each column gets a caption)
7 0
3 years ago
Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a Vend
Zanzabum

Answer:

import java.util.Scanner;

class Main {

 public static void main (String args[])

 {

   Scanner input = new Scanner(System.in);

   VendingMachine machine = new VendingMachine(20);

   System.out.print("Enter nr to purchase: ");

   int nrPurchased = input.nextInt();

   System.out.print("Enter nr to re-stock: ");

   int nrRestock = input.nextInt();

   machine.Transaction(nrPurchased, nrRestock);

   input.close();

 }

}

class VendingMachine {

 private int inventory;

 public VendingMachine(int initialInventory) {

   inventory = initialInventory;

 }

 public void Transaction(int nrToBuy, int nrToRestock) {

   inventory += nrToRestock - nrToBuy;

   System.out.printf("Inventory: %d bottles.\n", inventory);

 }

}

7 0
3 years ago
you have obtained a program under development to test on your computer. While you are using the program, it crashes with a messa
LenKa [72]

Answer:

It leaves behind Error Code 5

Explanation:

This happens when the parameter provided fails the function requirement this could be as a result of wrong data type or when the parameter provided exceeds the function requirement.

5 0
3 years ago
If a flagged word is spelled correctly, such as many of our names, right-click it and then click ____ on the shortcut menu to in
cluponka [151]

Answer:

Either, "Ignore all" or "add '...' to dictionary"

Explanation:

If "Ignore all" is clicked, the software will ignore all the words which it believes is incorrect currently written. Whilst, adding it to the dictionary, the word will always be seen as spelt correctly on the application. Therefore, both get rid of the flagged word, but one is permanent.

4 0
2 years ago
Write a program whose input is two integers and whose output is the two integers swapped.
Tpy6a [65]

Answer:

The program to this question can be given as:

Program:

#include <iostream>  //header file

using namespace std;   //using namespace.

void SwapValues(int* userVal1, int* userVal2); //function declaration.

void SwapValues(int* userVal1, int* userVal2) //function definition.

{ //function body.

//perform swapping

   int t = *userVal1;  

   *userVal1 = *userVal2;

   *userVal2 = t;

}

int main() //main method  

{

int n1, n2; //define variable

cout<<"Enter first number :"; //message

cin>>n1; //input by user.

cout<<"Enter second number :"; //message  

cin>>n2; //input by user.

SwapValues(&n1,&n2); //calling function.

cout<<"Swapped values"<<endl;

cout<<"first number is :"<<n1<<endl; //print value

cout<<"second number is:"<<n2<<endl; //print value

return 0;

}

Output:

Enter first number :3

Enter second number :8

Swapped values

first number is :8

second number is :3

Explanation:

The description of the above C++ language program can be given as:

  • In the program, firstly we include the header file. Then we declare and define a function that is "SwapValues()" function in the function we pass two integer variable that is "userVal1 and userVal2" inside a function, we define an integer variable that is "t" and perform swapping.  
  • Then we define the main function in the main function we define two variables that is "n1 and n2" this variable is used to take value-form user. then we pass this value to function and print the function values.

5 0
3 years ago
Other questions:
  • What is TCP/IP?
    13·1 answer
  • Is I5 9100 is better than i5 9400
    6·1 answer
  • Bullet points on a slide should be limited to _____. 2 4 8 10
    15·2 answers
  • You are required to design a 4-bit even up-counter using D flip flop by converting combinational circuit to sequential circuit.
    15·1 answer
  • It's safe to download files from the internet if u perform regular Windows security updates, that is all u need to protect your
    10·2 answers
  • Which is a requirement for searching for a template
    14·1 answer
  • All of the following are helpful test taking strategies EXCEPT_______________.
    5·2 answers
  • Apply Decision Tree Algorithm on the following data:
    12·1 answer
  • WAp to input the radius and print<br> the area of circle
    15·1 answer
  • True or False? Any edition or version of Windows can join a domain.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!