logo

Crowdly

Browser

Add to Chrome

Для прикладу програмного коду, за яких умов реалізується виклик виключення з й...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Для

прикладу програмного коду, за яких умов реалізується виклик виключення з його

подальшим обробленням:

-module(math).

-export([add/2]).

add(X,Y) ->

test_int(X),

test_int(Y),

X + Y.

test_int(Int) when is_integer(Int) -> true;

test_int(Int) -> throw({error, {non_integer, Int}}).

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome