in Education by
Mathematical function to check whether a number is positive or negative in c# Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
bool positive = number > 0; bool negative = number < 0; Enter this Command Bro

Related questions

0 votes
    write a program to check whether the entered number is positive or negative or zero Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    Assembly language porgram to find positive or negative and take values from user Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Help needed Please write a program to check whether a number is special number or not . 100 points Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    write a program to input a number. check and display whether it is divisible by 100 Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    Write a script in python to check whether your age is “major” or “minor” Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    WAP in java to check whether the sum of second and third digit of a 4 digit no. , is even or odd? Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    Algorithm to find whether the given number is palindrome or not Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    String Slicing means: 1.to convert the string in capital 2.to check whether a string has more than one ... in reverse order computet Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    write a program to input a year example 1994 and check whether it is a leap year Select the correct answer from above options...
asked Dec 6, 2021 in Education by JackTerrance
0 votes
    write a program to input a year example 1994 and check whether it is a leap year Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    write a program to input a year example 1994 and check whether it is a leap year Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    The maximum value of the wave during a positive half cycle or maximum value of the wave during negative cycle is ... GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 19, 2021 in Education by JackTerrance
...