The simplest approach to do this is:
Convert both numbers to string
Concatenate both strings into one, as this is comparatively easy
Convert this concatenated string back to integer
Step-by-step explanation:
Given two integers n1 and n2, the task is to concatenate these two integers into one integer.
Example:
Input: n1 = 12, n2 = 34
Output: 1234
Input: n1 = 1, n2 = 93
Output: 193
R is also known as the correlation coefficient. Hence your statement is ...
B. False
Answer: 8
Step-by-step explanation:
(x,y)
domain is inputs (normally x or first number)
range is outputs from the given domain (normally y or second number)
domain is just all the first numbers
range is all the second numbers
ignore repeats
domain: {0,4,5}
range: {2,3,5,7}
Answer:
14/81
Step-by-step explanation:
The probability of getting a green is number of green sections ÷ total number of sections = 2/4+3+2 = 2/9
Probability of not getting a green is = 1 - probability of getting a green = 1 - 2/9 = 7/9
Now we calculate the probability of not getting 2 consecutive greens. I.e probability of getting a green the first time and not getting it the second time= (2/9 × 7/9) = 14/81