Computer Science, asked by DebadritoDutta, 4 months ago

write a program to input a number and check whether the number is greater then zero or not . if the number is greater than zero then display Absolute number else not display​

Answers

Answered by sh123prajapat
4

Explanation:

In this post, we will write two java programs, first java programs checks whether the specified number is positive or negative. The second program takes the input number (entered by user) and checks whether it is positive or negative and displays the result.

→ If a number is greater than zero then it is a positive number

→ If a number is less than zero then it is a negative number

→ If a number is equal to zero then it is neither negative nor positive.

Answered by sanskarsingh98013416
12

Answer:

If you are morally corrupt, you do not have good (or you may actually have bad morals). Morals are our understanding of good and bad. For example if you are morally corrupt you may think that it is ok to steal from the poor or take sweets from children, speed up your car when you see an old person crossing the road...

Similar questions