Answer:
hdiihgguilmjj jduhuiuedoibb
Answer:
Principles of computer programming are applied in different languages to produce software applications is described below in detail.
Explanation:
The main types of programming languages are:
- Functional Programming Language.
- Scripting Programming Language.
- Logic Programming Language.
- Procedural Programming Language.
- Object-oriented Programming Language.
The programing language authorizes us to write dynamically programs and advance online explications such as- Games, web applications, and mobile applications, etc. Programming is employed to assemble, maintain, automate, measure, and interpret the processing of the data and knowledge.
Answer:
d. 24 = 16 subnets, 24 - 2 = 14 hosts per subnetwork
Explanation:
When four bits are borrowed from the fourth octet of class C IP address 200.245.10.150, the IP address is subnetted to 16 subnets, where the number of subnets is equal to two raised to the number of borrowed bits (ie, 2^ number of borrowed bits), and 14 assignable host IP address gotten from the formula;
= 2^(number of host bits in the fourth octet) - 2
= (2^4) - 2
= 16 - 2 = 14 host addresses
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.