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.
Answer:
Dear
<h3>You should wear something professional. A tie, suit, classy dress, heels. You are more likely to be hired if you make it look like you take pride in your appearance. Also, depending on what kind of job you are applying for, the outfits can vary as well.</h3>
Explanation:
Black is too formal for interviews, and earth tones are too casual. Two-button suits are the professional standard.
Answer:
D.
Explanation:
In combinational circuits, the current output values are always the same for the same set of input values, regardless the previous values.
We say that combinational circuits have no memory, or that the circuit has no feedback from the outputs.
For sequential circuits, on the contrary, the current output values are not based in the current input values only, but on the previous output values as well.
So, the fact of having a defined set of input values at a given moment, doesn't guarantee which the output values will be.
We say that sequential circuits have memory, or that they have feedback from the outputs.
Examples of these type of circuits are R-S, J-K, D or T flip-flops.
Answer:Effective but not efficient
Explanation:
Jim is effective because he was able to complete the IT tasks well but he is not efficient because he didn't submit the result on time because being efficient includes management of time.
Answer:
The statement in python is as follows:
to_the_power_of(cube_side,3)
Explanation:
As stated as the requirement of the code segment, the statement takes as parameters a variable cube_side and a constant 3.
It then returns the volume of the cube; i.e. cube raise to power 3
<em></em>
<em>See full program below</em>
<em>def to_the_power_of(val,powe):</em>
<em> result = val**powe</em>
<em> print(result)</em>
<em>cube_side = float(input("Cube side: "))</em>
<em>to_the_power_of(cube_side,3)</em>