Answer:
I believe the translation would be "get out", but I'm not sure.
Explanation:
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.
The formula used to convert the Fehrenheit to degree Celcius is given as
F = 1.8C + 32
<h3>What is temperature?</h3>
The term used for the measurement of the degree of hotness or coldness of any object is called as temperature.
This represents the temperature of F degrees Fahrenheit converted to degrees Celsius.
Remember that in order to change temperature we need to use the following formula: from Fahrenheit to Celsius: first, subtract 32, then multiply by 100/180
To know more about temperature follow
brainly.com/question/24746268
#SPJ1
Answer:The original choice to write apply_fg so that it accepts function arguments is a good one, because it increases interoperability. When the callable arguments to apply_fg use a single protocol, we can easily exchange them: #include <functional> float log2(float); int a = apply_fg(5.Of, int b = apply_fg(3.14f,
Explanation: