Here's what I found
To use an aggregate device with Logic:
Open Logic Pro or Logic Express.
Choose Logic Pro > Preferences > Audio or Logic Express > Preferences > Audio and select the Devices tab.
Select the Output Device drop-down menu and choose the aggregate device from the list. ...
Click Apply Changes at the bottom-right of the window.
Answer:
The program to this question can be given as:
Program:
#include<iostream> //header file
using namespace std;
int main() //main method
{
int x[10],i,largest = 0,second_largest=0,n; //variable
cout << "Enter Number of elements :"; //message
cin>>n;
cout << "Insert array elements :"; //message
for(i=0;i<n;i++) //insert elements in array
{
cin >>x[i];
}
//Finding Largest element
for(i=0;i<n;i++)
{
if (x[i]>largest)
{
largest = x[i];
}
}
//finding second largset element
for(i=0;i<n;i++)
{
if (x[i]>second_largest)
{
if(x[i]==largest)
{
continue; //Ignoring largest in order to get second largest
}
second_largest=x[i];
}
}
//print value
cout <<"Largest Number:"<<largest<<endl;
cout <<"Second Largest Number:"<<second_largest;
return 0;
}
Output:
Enter Number of elements :5
Insert array elements :33
45
75
87
23
Largest Number:87
Second Largest Number:75
Explanation:
In the above program firstly we define the header file then we define the main method in the main method we define the array and other variables. We first input the number for the size of the array. Then we insert array elements after inserting array elements we search the largest number and the second largest number in the array. To search the largest number in the array we use the loop. To search the first largest number we define a condition that array is greater than the largest number and store the value into the largest variable. Then we check the second largest number in the array for this we use two conditions that are array is greater than the second largest number in this we use another condition that is array is equal to the largest number. If the inner condition is true then it will move forward and end of an inner condition. In the outer condition, the value will be stored on the second_largest variable all the conditions will be done inner the loop. At the last we print values.
Answer:
Hi!
The answer coded in Javascript is:
function minimalNumbersOfBanknotes(input) {
var banknotes = [50, 20, 10, 5, 1];
var output = '';
<em>//Each while writes on output variable the banknote and substract the same quantity on input variable.</em>
<em> //If the input is lesser than the value of while banknote, step into next while.</em>
<em />
<em> </em>for (var i = 0; i < banknotes.length; i++) {
while(input >= banknotes[i]) {
output = output + ' ' + banknotes[i];
input = input - banknotes[i];
}
}
return output;
}
Answer:
The answer is (a).Presentation Layer
Explanation:
This layer is located at the 6th level of the OSI model, responsible for delivering and formatting the information to the upper layer for further processing. This service is needed because different types of computer uses different data representation. The presentation layer handles issues related to data presentation and transport, including encryption,translation and compression.
The two components which is used to provide input to the computer is Keyboard and mouse. These two are most used input devices. Keyboard provides all the alphabet and numbering inputs and apart from these kinds of data, it also has certain function key, keys to edit text. Mouse has 3 main functions.
Every operation is done through the click of the mouse. Either we may double click to open up a file, right click and use scroll to scroll the pages. There are other inputs like joy stick which is used for game and used majorly in play stations.