Computer Science, asked by irfakhan463, 4 months ago

public class Output
{
static void main()
{
int a = 5, b = 6, c = 0;
c = (a+b>8) ? 2*a : 3*b;
System.out.println(c);
}
}



Answers

Answered by vishukhajuria
0

Answer:

? should not be there in your program of java and colon is wrong This should give an error remove colon and ? mark

Similar questions