Computer Science, asked by divjot9648, 1 year ago

Hola!!


Write a program in Java to let the user know what type of number it is.

EITHER a positive number, negative or zero.

Don't give me pics of your books or don't copy from your books because my program is entirely different.


✌✌

Answers

Answered by Anonymous
2
{ \huge{Hey \: mate!!}}

Your answer is ⤵⤵⤵⤵

class \: abc
{
 \: \: \: \: \: \: \: \: \: \: \: \: \: public \: static \: void \: main(number)
{
if(number > 0)
{
 \: \: \: \: \: system.out.println(number \: is \: positive)
 { \: }
{{bracket \: close }}
if \: else(number = = 0)
{
 \: \: \: \: \: \: \: system.out.println(number \: is \: zero)
{bracket \: close}
else
 \: \: \: \: \: \: \: s.o.pln(negative \: number)
{all \: brackets \: close}

Pls mark my answer as brainliest ✨
Answered by Anonymous
0

{ \huge{hey \: dear}}

Your answer is given ☝☝☝☝



#Sorry#
Similar questions