Write a java program to accept a number.If the number is positive display its square.If the number is negative display its cube.PLS USE SCANNER CLASS...ANY DOUBT REGARDING THE QUESTION...PLS MESSAGE IN THE INBOX...BUT PLS DON'T GIVE UR DOUBTS IN ANSWER
Answers
Answered by
0
this is the answer for the question
Attachments:
vivardoshi100:
both pictures r same i send it twice because u should not find it clear
Answered by
0
Answer:
here is your answer hope it helpfull
Similar questions
Math,
7 months ago
English,
7 months ago
English,
7 months ago
Social Sciences,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago