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:
Software that would help my grandparents in the North end much money and help stop post harvest loss due to inadequate weather information Climate change etc
Explanation:
The app willbe able to tellif a soil is suitable forCropsthrough my othertechnologiesthat willcome with app it will alsodetect the whetherpattern accuratelyprovide securityin the farmand help farmers selltheir products online
Answer:
statements = tuple(input("Enter four statements separated by comma: ").split(","))
st1, st2, st3, st4 = statements
#print with:
print(f"{st1}, {st2}, {st3}, {st4}")
# or:
print("{}, {}, {}, {}".format(st1, st2, st3, st4))
Explanation:
The input function in python is used to prompt for user input. It returns a string. The code above splits the string of the input function and converts it to a tuple, which is unpacked in four variables st1, st2, st3, and st4.
The variables can be printed out as strings directly or by using the "f" keyword or the format function.
Answer:
IDE hard drives <em>(Integrated Drive Electronics)</em> aka <em>(PATA) </em>or <em>"Parallel ATA"</em> <em>(Advanced Technology Attachment)</em>, were the previous standard before SATA which are faster; IDE drives are disposed with 41 to 44 pins, and they normally use 5V; although to certain extent small laptop 2.5" drives need only 5V, some of them also need 12V; and 3.5" drives require 12V plus 5V for the motor and logic.
Thereby the most suitable answers are <em>B.)</em> &<em> E.)</em> ,
5V and 12V respectively.
Answer.
1.Surge protection board
2.Uninterrupted Power Supply (UPS)
Explanation
A surge protection board is designed to protect equipment against a power surge or over voltage in power supply.A UPS provides back up power in occasions of power outage.In most events of power cut,UPS units only allow a person to save the work and perform a controlled shutting down of a computer.