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
goblinko [34]
4 years ago
6

Determine the result. Type "Error" if the program would terminate due to divide-by-zero. Only literals appear in these expressio

ns to focus attention on the operators; most practical expressions include variables.
100 / 2
Computers and Technology
1 answer:
nasty-shy [4]4 years ago
7 0

Answer:

It depends upon the programming language that you are working on, and you can set your own error message using the try catch option. As an example, suppose you are working on the C#. Code like below can be added:

using System;

class MainClass {

static void Main(string[] args) {

int a = 5;

int b= 0;

int c= 100/2;

console.WriteLine(c);

try {

int d = a / b;

} catch (DivideByZeroException err) {

Console.WriteLine(err);

}

}

}

System.DivideByZeroException: Attempted to divide by zero.

This will give the above error message. And this is an error message by the system. We can also have a user-defined error message.

Explanation:

Please check the answer.

You might be interested in
What is one step taken when solving a computer software problem?
alexandr1967 [171]
Scanning the computer and deleting any viruses

[ if this helped you please give brainliest :) ]
3 0
4 years ago
A data set includes data from 500 random tornadoes. The display from technology available below results from using the tornado l
EastWind [94]

Answer:

The answer is:

H_0:\mu=2.2\\H_1:\mu> 2.2

Explanation:

H_0:\mu=2.2\\H_1:\mu> 2.2

The test value of statistic t= \frac{\bar x-\mu}{\frac{s}{\sqrt{n}}}

                                               =\frac{2.31688-2.2}{0.206915}\\\\=0.56

The value of P = P(T>0.56)

                          =1-P(T<0.56)

                          =1-0.712

                          =0.288

  • Since the P value exceeds its mean value (0.288>0.05), the null assumption must not be rejected.  Don't ignore H0.
  • This assertion, it mean length of the tornado is greater than 2.2 miles also isn't backed by enough evidence.
6 0
3 years ago
Introduction to numbering system
kirill115 [55]
What about it? I need more details
7 0
3 years ago
What makes an App different than others?
Sergio [31]

Answer:

codes

Explanation:

the technique to code different codes matters alot in making your app unique

3 0
3 years ago
Read 2 more answers
These are keywords used with mysql_query/ mysqli_queryto update records in a table.
Brrunno [24]

Answer:

D.insert, into, values

3 0
3 years ago
Read 2 more answers
Other questions:
  • Which statement about word processing software is true? A)You can use it to perform mathematical calculations.B) You can use it
    6·2 answers
  • Will a company ever finish its social media marketing strategy?
    10·1 answer
  • Write a method that returns a new array by eliminating the duplicate values in the array using the following method header: Publ
    6·1 answer
  • A cyberbully is someone who invades another person’s privacy by
    13·2 answers
  • For smaller business and home networks, which of the following allows multiple computers to share a single broadband Internet co
    7·1 answer
  • Which is an example of line-of-sight Internet service?<br> Cable<br> DSL<br> Fiber<br> WiMax
    7·1 answer
  • Which of the following best describes a situation where software should be upgraded instead of replaced? A three-year-old laptop
    9·1 answer
  • Which format of image files can be inserted in html?​
    8·2 answers
  • 100 POINTS!!!!
    10·1 answer
  • Using AI to filter potential job applicants might be considered _____
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!