Oxygen has the faster speed bc it’s the highest
Answer:
foiydvoihivherqpiufhqeripufhwpjferifyhgeqwpufwhrfiouerhfpiwruhwriufhriughrpifuwrhfpouwerhfpir3gherqiughwrpijfheriughrgiuehgukjetnbgipuhiugtrihugtrhuigrtuhtrgihugtrihugtrihuggriughrgiuhgthgtehuighirihghtrihuetiughto[ughwer[igut4hg[owjg[toughjr[ough42ouhetgpou4t2gouhpoughogu4tpiu24hgpouthpgouwithjgop2tijgpotu4hgp4igjtoihj2p4oughroug2jt4poiughj2rpougrtihugtrjgtjipoijhuigtrfkopfgtrigtlrijgrijgtju9gt3i;gtju;lk3j3g00j835uj3ggy366j6jujep6ppjysbgtvrjgtroijpgtrijptgwiugtugtjteggteuegtiuogtgtutge5gtuogtuotguutytgju5t5iujugtteg5ut5gugt58ut54ut5grut5rd8u5trdu8jt5rd8ut5r8ut5tttfgig5ri;grgtrtgijpogte5ijopgtijogtri0tg45i0t45ij9gt54p98uhtrhuothjpiughtgutjhpwtoigj2rtg92tjhrwoipj[tigh9ughoghjergouehnpoutehgepogiujtr[ogihewupognetpoiuhqetoighqe[ou\epfouheq-g9uerhfhgprugqetughqe[ougjetiughnqetpoughnqet[ogujqreg[uijt
Answer:
C++ code:
#include<iostream>
using namespace std;
void sort(int al[30], int l)
{
//we use insertion sort to sort the array.
int p,q,k;
for(q=1;q<l;q++) //starting from the 2nd item of the array.
{
k= al[q]; //taking qth item as key value.
p=q-1;
while(p>=0 && al[p]>k)
{
al[p+1]=al[p]; //all items those are greaer than al[q] are shifted //to right.
p=p-1;
}
al[p+1]=k;
}
}
int main()
{
int p,l, arrl[30];
cout<<"Enter the number of items in your array: ";
cin>>l;
cout<<endl;
cout<<"Enter your "<<l<<" items"<<endl;
for(p=0;p<l;p++)
{
cin>>arrl[p];
}
sort(arrl, l); //call function sort() to sort the array.
cout<<"The array after sorting: ";
for(p=0;p<l;p++)
{
cout<<arrl[p]<<" ";
}
cout<<endl;
cout<<"The smallest item is: ";
cout<<arrl[0]<<endl;
cout<<"The middle item is: ";
cout<<arrl[l/2]<<endl;
cout<<"The biggest item is: ";
cout<<arrl[l-1]<<endl;
}
Output is given as image.
Answer:
Option (a), (d) and (e) is the correct option to the following question.
Explanation:
Because most of the application is that type which consuming a lot of power because of their features and the functionality and also these applications have large in size. The mobile phones also consume power when the brightness of the mobile is set at a high level and also when its VPN is connected or connected through the WIFI.
Answer:
See explaination
Explanation:
#include <iostream>
using namespace std;
void SelectionSortDescendTrace(int numbers[], int numElems) {
int maxInd;
for (int i = 0; i < numElems - 1; ++i) {
maxInd = i;
for (int j = i; j < numElems; ++j) {
if (numbers[j] > numbers[maxInd]) {
maxInd = j;
}
}
int temp = numbers[i];
numbers[i] = numbers[maxInd];
numbers[maxInd] = temp;
for (int j = 0; j < numElems; j++) {
cout << numbers[j] << " ";
}
cout << endl;
}
}
int main() {
int numbers[10];
int numElements = 0;
for (int i = 0; i < 10; i++) {
cin >> numbers[i];
if (numbers[i] == -1)
break;
++numElements;
}
SelectionSortDescendTrace(numbers, numElements);
return 0;
}