Solution :
a). The two arrays that are used in parallel in order to store the identification of two numbers of 5 employees and their weekly gross payments is :
int id_array[5];
double gross_pay[5];
b). The loop that uses the arrays for printing the identification number and the weekly gross payment is given below :
for(int i=0; i<5; i++)
{
count <<id_array[i] <<" " << gross_pay[i] << end;
}
Answer: b. My name is BobBob
Explanation:
- $foo = 'Bob'; // Assigns foo variable the value Bob
- $bar = $foo; // Assigns the value of foo to bar
- $bar = "My name is $bar"; //changes the $bar this is the way to include variables directly in the string.
- print $bar; // this prints My name is and moves to the variable $bar which prints the value of $bar which is the value of $foo i.e. Bob
- print $foo; // prints another Bob
The answer is input! because the input is what the user enters, the output is what comes out from that, and the text and value aren’t related to the user
Answer:
be clearer. your question doesn't seem to be presented well
<span>GUI is a graphical user interface. It is a graphical window that provides interaction with the user.
</span>The button is a pushbutton, which can be pressed to trigger an action.<span>
A graphic control component or a control element is a component that provides a button control in a GUI application. It is also called a control element because it </span><span>is an element of interaction between the user controlling the application.</span>