Answer:
Following is the program in C++ Language
#include <iostream> // header file
using namespace std; // namespace std
int main() // main method
{
int n; // variable declaration
cout<<" Please enter the number :";
cin>>n; // Read the number
if(n>0) // check the condition when number is positive
{
cout<<n<<endl<<"The number is Positive"; // Display number
}
else if(n<0) // check the condition when number is Negative
{
cout<<n<<endl<<"The number is Negative";// Display number
}
else // check the condition when number is Zero
{
cout<<n<<endl<<"The number is Zero";// Display number
}
return 0;
}
Output:
Please enter the number:
64
The number is Positive
Explanation:
Following are the description of the program
- Declared a variable "n" of int type.
- Read the value of "n" by user.
- Check the condition of positive number by using if block statement .If n>0 it print the number is positive.
- Check the condition of negative number by using else if block statement If n<0 it print the number is negative.
- Finally if both the above condition is fail it print the message " The number is Zero"
Answer: It's similiar to the quote "You bring out the best of me" When you're in love, you feel the need to be yourself and that you don't have to hide it. Love brings out the real you.
Hope this helps.
Explanation:
Answer:
B.add.
Explanation:
boolean add(element)
The add method in java inserts an element in the vector.It's return type is Boolean it returns true if the element is successfully inserted in the vector and false if the operation is unsuccessful.There is no Push operation in vector.Hence we conclude that the answer is add.
A window is a rectangular work area in the desk top that contains a program, text, files, it other data and tools.
Hope this helps!
A firewall determines what external network traffic(internet) should or should not be allowed to pass internal network(computer). A firewall is network security that protects software and hardware from untrusted sites that may have viruses, worms, and bugs that are detrimental to the computer.