answersLogoWhite

0

Placing a question mark at the end of a statement does not make it a sensible question. Try to use a whole sentence to describe what it is that you want answered.Yes, it is possible to input a number and find whether it is positive or negative. Yes, it is possible to write an algorithm to do that. But what is it that you want?

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Draw a flow-chart to count how many of 10 input numbers are positive negative and zero?

draw a flow chart to input ten number and count the positive negative and zero


Do exponential functions have a domain that includes all real numbers?

Yes, exponential functions have a domain that includes all real numbers. This means that you can input any real number into an exponential function, such as ( f(x) = a^x ), where ( a ) is a positive constant. The output will always be a positive real number, regardless of whether the input is negative, zero, or positive.


What is the difference between the positive clipper and negative clipper?

Positive clipper-the clipper which removes the positive half cycles of the input voltage, while the negative clipper the clipper which removes the negative half cycles of the input voltage.


What are the ideal op-amp approximations?

Ideal op amp approximations: -no current goes into the positive or negative input of the op amp. -The open loop gain is infinite. -Voltage at positive input is the same as the negative input.


Program to find whether the given number is positive or negative or zero?

in what languange? I assume it's TI-Basic (or something else)TI-Basic:input Aif A < 0thendisp "Negative"elseif A > 0thendisp "Positive"elseif A = 0thendisp"zero"endor PHP:$a = $_POST['input'];if ($a < 0) {echo $a . " is smaller then one, meaning it's a negative number.";} else if ($a > 0) {echo $a . " is bigger then one, meaning it's a positive number.";} else {echo $a . " is a zero"}I'm sure you can convert it to c++ or something else. It's as simple as that!


What is signum function?

That is a function defined as: f(x) = -1 if x is negative f(x) = 0 if x is zero f(x) = 1 if x is positive In other words, a function that basically distinguishes whether the input is positive, negative, or zero.


Definition of negative feedback and positive feedback?

A: Any feedback that contributes to the input is positive feedback any feedback that subtract from the input is negative feedback


How do you square root a negative number?

There are no real answers for a square root of a negative number. Try it on a good scientific calculator (some calculators simply square root the positive, ignoring the negative input), and it should come up with a math error.


What is meant by reasonable a domain and range?

Recall that domain is the input of a function, and the range is the output. If the value for the input (domain) represents the height of a person, it would not be reasonable to use a negative number for the input because this would indicate a negative height. That would not be realistic or negative. Some events would be reasonable or realistic if a negative number would be used as a valid time input and some events would not. For example, a negative time may represent the time before blastoff, but a negative time would not be realistic if it was used to represent the time you spent on homework last week. Only zero or a positive number would be realistic, therefore the reasonable domain would be non-negative numbers (positive numbers and zero).


How do you get a negative number on a scientific calculator?

To get a negative number on a scientific calculator, you can usually press the negative sign key, often labeled as “(-)” or “±,” before entering the number. For example, to input -5, you would press the negative sign key followed by the number 5. Alternatively, if you have already entered a positive number, you can often change its sign by pressing the same negative sign key again.


How do you write a program that asks a user to enter a list of integers placing positive and negative integers into separate arrays and output both arrays?

#include#include#include#includeusing namespace std;string ask(string prompt){string input;coutinput)return(input);return(0);}bool ask_yn(std::string prompt){while(1){string input = ask(prompt);if( input.size() && input.size()


What is an inverting input?

An inverting amplifier is configured such that the output is 1800 out of phase with the input. that is, if a positive input increases the subsequent negative output decreases and vice versa.