Answer:
The statement to this question can be described as follows:
Statement:
if (intRow > = 1 && intRow < = 8)
{
lblCabin.Text= “First Class"; //if block that checks the given range and assign the value.
}
Explanation:
Description of the if block:
- In the above, If statement fist the value is check, that is it is in the range or not.
- To check its value an "intRow" variable is used, that checks the value is greater than equal to 1 and less than equal to 8, in between both condition AND operator, that executes when both conditions are true.
- Inside the if block a label "lblCabin" is used that assigns a value that is "First Class".
Answer:
This program is written in C++. You can implement this program in any language. The code along with comments is given below in explanation section.
Explanation:
#include <iostream>
using namespace std;
int main() // main function
{
int number, reverseNumber=0, reminder; //varible declaration
cout<<"Enter a number: "; //prompt user to enter the number
cin>>number; //save the entered number into number variable
while(number!=0) //while number does not become zero.... remain in loop
{
reminder=number%10; // taken reminder of number
reverseNumber=reverseNumber*10+reminder; //store the number digit into reverse order
number/=10; //decrease the number or shift the division to next digit
}
cout<<"Reversed Number: "<<reverseNumber<<endl; //print reversed number.
return 0;
}
Int j;
j="name"[4];
// you could do
j=0; // since name has four letters the fifth character is the terminating 0
now if the string name is name
you could do
j=name[4]; // or even 4[name]
Answer:
The correct answer to the following question will be Lucent connector (LC).
Explanation:
Lucent Connector (LC): A fiber-optic connector that is used to join and connection between network devices, the fibers where the disconnection or the connection is required, known as Lucent Connector (LC).
There are mainly two versions of Lucent connectors, such as:
- BTW Connector (a very shortest type of connector used for calculating mounting)
- Jumper Connector (Simplex and duplex can be terminated by jumper connector).