WAP in JAVA to accept 2 numbers. calculate the sum of sqare of number.
if the sum is
100, print "century"
less than 100 but more than 50, print "half century"
less than 50, print " go for a vacation"
more than 100, print "excellent"
0, print "zero".
is my program correct (photo)?
Attachments:
Answers
Answered by
1
the answer you wrote is the correct one
Similar questions
English,
7 months ago
English,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago