public class Output
{
static void main(int a, int b)
{
int S=0;
S+=(a>o)?a:-b;
S-= (a<o)?-a+b;
System.out.println(s);
}
}
When:
a. a=-5 and b=-6
b. a=5 and b=6
Answers
Answered by
4
Answer:
a. S=1
b. S=-1
please mark me brainliest
Similar questions
Math,
16 days ago
Math,
16 days ago
English,
16 days ago
Business Studies,
1 month ago
Computer Science,
7 months ago
Math,
7 months ago