Answer:
The first mechanical computer was invented by Charles Babbage in 1822.
Answer:
// C++ program to find k largest elements in the array
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int n,k;
cout<<"Enter the number of elements of array:";
// read the value of n
cin>>n;
// declare the array of size n
int arr[n];
cout<<"Enter the elements of array:";
// read the elements of array
for(int a=0;a<n;a++)
{
cin>>arr[a];
}
cout<<"Enter the value of K:";
cin>>k;
// call the function to perform selection Sort
sort(arr, arr+n);
cout << k<<" largest elements of the array are: ";
// print k largest elements of the array
for (int i=n-1; i>n-k-1; i--)
cout << arr[i] << " ";
return 0;
}
Explanation:
Read the number of elements in the array.Then create an array of size "n" and read n elements of the array.Sort the array in ascending array.Then Read the value of k from user.Find the k Elements from the end of the array.This will be the k largest elements of the array.
Output:
Enter the number of elements of array:8
Enter the elements of array:34 8 75 99 12 7 5 55
Enter the value of K:3
3 largest elements of the array are: 99 75 55
its less is more A
to much could make it really bad
Answer:
Multi herramientas
Explanation:
Un kit tecnologico debe contener todas las herramientas necesarias para el trabajo que lo necesites, por ejemplo destornillador magnetico con varias puntas, herramientas para desmontar y por supuesto tener buena claridad para trabajar y alcohol isoprofilico de al menos 90+ para limpiar electronicos.
Answer:
Digital Ocean (but you need to set it up first)
Explanation:
If you are a student, I would recommend Digital Ocean, as you get £50 free credit as part of the GitHub Student Pack. (I believe you have to pay in a little bit however). There are also other reputable hosting providers, AWS should do the trick. For people just starting out, I would recommend hosting from their own machine. If you don't want to pay ever, and are just using basic HTML/CSS, you can use GitHub Pages as a means to host websites.
DO / AWS will only provide you with a blank Linux box, it would then be up to you to install suitable website hosting software - such as Apache/Nginx ect...