Answer:
Please find the answer in the attached image.
Explanation:
I wrote this program using JavaScript programming language.
// A function to check tickets
function tickets(user_tickets){
var num_tickets;
if (user_tickets < 5) {
num_tickets = 1;
return ('num_tickets: '+ num_tickets);
}
else {
num_tickets = user_tickets;
return('num_tickets: '+ num_tickets);
}
}
// Testing the tickets function
// With user_tickets = 3, 5, 8, and 1
console.log(tickets(3));
console.log(tickets(5));
console.log(tickets(8));
console.log(tickets(1));
Answer:
Sorted array will be:-
3 5 5 9
Explanation:
In Selection Sort algorithm it sorts the array by repeatedly finds the minimum in the array form the array that is unsorted and swaps it with the value at the first position.
The unsorted array:- 5 3 9 5
In first iteration
minimum is 3.
3 will be swapped with 5.
Now the array is 3 5 9 5
sorted array 3
In second iteration
unsorted array is 5 9 5
sorted array 3 5
and the minimum from it is 5
No swapping will occur.
In third iteration
unsorted array is 9 5
minimum is 5
sorted array 3 5 5
swap it with 9.
Now the array is sorted.
3 5 5 9
Java.lang is the answer you're looking for
The idea that managers tend to communicate more with other managers who share similar beliefs and experiences is represented by all-channel network.
E. All-channel network
<u>Explanation:</u>
The manager wants to communicate with his or her staff. The manager has to use communication protocols either phone or mobile number or any IM software. In an organization if a manager wants to communicate by one to one or group member he or she has to will use any type of network.
Chain network: - flows up and down to communicate where anyone communicates to one to one or group chat.
Wheel network: - it is group admin communicates to his group members as one away communication, where group admin will communicate and another group just listen to group admin or leader. Same like online broadcasts methods
Circle network: - group members communicate with each other in the group. For example group concepts in online group member methods.
Groupware network:- where multiple end-user where communicate in a project related. This network exists until the project exists. A particular groupware network is dismantling once the project is getting over or closed.
Answer: is when your earnings potential is higher than the cost of your education
Explanation:
A positive return on investment on a particular thing occurs when the benefit derived is more than the cost that was incurred while in a scenario whereby the cost is more than the benefit, a negative return on investment took place.
In this case, a positive return on investment for higher education occurs when your earnings potential is higher than the cost of your education.