I would use a biometric machine that scans a fingerprint and a eye retina then calls up my bank information from the scan. Who wants to carry a card around anyway?
is a collection of information stored under a single name.
The answer is A for 1. And C for 2.
Hope this helps.
Answer:
C++.
Explanation:
#include <iostream>
using namespace std;
/////////////////////////////////////////////////////////
void printPrime(int n) {
if (n > 0) {
cout<<"[2";
for (int i=3; i<=n; i++) {
bool isPrime = true;
for (int j=2; j<i; j++) {
if (i % j == 0) {
isPrime = false;
break;
}
}
if (isPrime == true)
cout<<", "<<i;
}
}
else {
cout<<"Invalid input";
}
cout<<"]";
}
/////////////////////////////////////////////////////////
int main() {
int n;
cout<<"Enter positive integer: ";
cin>>n;
printPrime(n);
return 0;
}