Answer:
#include <iostream>
#include<string.h>
using namespace std;
void printCharacter(string name){
for(int i=0;name[i]!='\0';i++){
cout<<name[i]<<endl;
}
}
int main()
{
string name;
cout<<"enter the name: ";
cin>>name;
printCharacter(name);
}
Explanation:
first include the two libraries iostream for input/output and string library for using the string.
then, create the main function and declare the variable type string.
cout instruction is used o display the message on the screen.
cin is used to store the value in the name variable.
after that, call the function. The program control move to the the function. In the function for loop is used to print the character one by one until end of the name.
Keeping in mind the role the order of precedence plays in equations, what would Excel display as the result of the following equation?
=(24+75)/(6*3)
=99/18
= 5.5
18)99.0.
90.0
9.0
D. 5.5
Answer:
Try looking it up. If not, go with your gut!