1. 2,359,412; 2,937,158; 3,356,000; 3,368,742
2. 2,009,604; 2,009,832; 2,103,425; 2,112,300
Assuming we need to find i such that
1 ≤ i ≤ n and t[i]=i.
If we need to find only the first occurrence, we can do:
for i:1 to n {
if t[i]=i then return(i)
}
If exhaustive search is required, then put the results (values of i) in an array or a linked list, return the number of values found, and the array (or linked list).
Number 1 is B and number 2 I belive is C. I hope I'm rightt, and I hope this helps.
Answer:
150 minutes
Step-by-step explanation:
First we have to express all these fractions of an hour in minutes, then add them and get the total of minutes.
To pass these numbers in hours to minutes, we only have to multiply by 60 because one hour has 60 minutes.
3/4 h =
3/4 * 60 = 45m
5/6 h =
5/6 * 60 = 50m
11/12 h =
11/12 * 60 = 55m
to calculate the total number of minutes we have to add the 3 values that we have
45m + 50m + 55m = 150m
Let the number = 10x+y
x+y = 9
y-x = 1
(x+y)+(y-x) = 9+1
2y = 10
y = 10/2
<h3><u>y = 5</u></h3>
x+y = 9
9-y = x
x = 9 - 5
<h3><u>x = 4</u></h3>
<h2>So, your number is <u>45</u></h2>
... Hope this will help...