Answer:
3,265,920 unique ID exist.
Explanation:
The nine digits are from 0 to 9, there are ten bits from 0 -9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
The first is select from the highest bit (9), and the second is selected at random from 0 - 9, the third bit to the last must be unique and different from each other;
number of unique IDs = 9 × 9 × 8 × 7 × 6 × 5 × 4 × 3 × 2
Multiplying the nine bits of unique IDs = 3,265,920.
<span>a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requester, called clients</span>
<span>A.) system administrator
Hope that helps</span>
Intercourse
Kiss
Going into someone’s house
Answer:
#include <iostream>
#include <cstring>
using namespace std;
void replacePeriod(char* phrase) {
int i = 0;
while(*(phrase + i) != '\0')
{
if(*(phrase + i) == '.')
*(phrase + i) = '!';
i++;
}
}
int main() {
const int STRING_SIZE = 50;
char sentence[STRING_SIZE];
strcpy(sentence, "Hello. I'm Miley. Nice to meet you.");
replacePeriod(sentence);
cout << "Updated sentence: " << endl;
cout << sentence << endl;
return 0;
}
Explanation:
- Create a function called replacePeriod that takes a pointer of type char as a parameter.
- Loop through the end of phrase, check if phrase has a period and then replace it with a sign of exclamation.
- Inside the main function, define the sentence and pass it as an argument to the replacePeriod function.
- Finally display the updated sentence.