Answer:
Clipboard, Slides, Font, Paragraph, Drawing, and Editing
Answer:
In C++:
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector<int> vectItems;
cout << "Vector length: ";
int ln; cin>>ln;
int num;
for (int ikk = 0; ikk < ln; ikk++){
cin >> num;
vectItems.push_back(num);}
int small, secsmall;
small = secsmall = INT_MAX;
for (int ikk = 0; ikk < ln; ikk++){
if(vectItems[ikk] < small){
secsmall = small;
small = vectItems[ikk]; }
else if (vectItems[ikk] < secsmall && vectItems[ikk] != small) {
secsmall = vectItems[ikk];} }
cout<<small<<" "<<secsmall;
return 0;}
Explanation:
See attachment for program file where comments are used for explanation
Answer:
348 + 395 = 743
Hence, together they have 743 pennies and not 653 pennies. And we cannot perform the rounding, as that is the case when we have the decimal number or the float number. Only then we have the digits after the decimal. And if it's more than 5, we add 1 to the previous or else leave the number as it is. And we go on performing from right to left, and till the number of decimal places, we need to round off. However, here its purely an integer, and hence we cannot round off, as that will result in a significant loss, and which is not acceptable. However, if we want to round off before decimal places as well, then in that case 743 will be $7s, and 653 pennies will be 6+1= $7s, and if this level of loss is acceptable then we can assume that they have the same sum of money. However, here the answer is given in pennies, and hence this is not the case. And hence the answer given in the question is not correct.
Explanation:
The answer is self-explanatory. And since both are numbers, rounding is not required(as explained in the answer section), as it is required in case of decimal and float(as explained in the answer section). And as explained in the answer section, if we can tolerate very heavy loss, then the numbers as well can be rounded off as explained in the answer section. But that is not the case here, as the answer is given in pennies.
Photography has given common people the ability to be remembered. Photography democratized making images. Making and distributing images became easier, faster, and less expensive. The details were introduced to the world in 1839, a date generally accepted as the birth year of practical photography.
Answer:
The devices that can be used to perform both functions -input and output- are called Dual Devices. These devices are also called Dual Purpose Devices or Both Input/Output Devices. With the help of a dual-purpose device, we can enter data into computers as well as we can output data from the computer to outside world.
Explanation:
hope it hepl u :-)