Computer Science, asked by Rhea13, 1 year ago

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 ReetChauhan1112
1
the answer you wrote is the correct one
Similar questions