Too many signs spoil the code …
package com.twisters;
public class Signs{
public static void main(String[] args) {
int result;
int a = 5, b =1;
result = a---b;
System.out.println("Value of a is : " + a);
System.out.println("Value of b is : " + b);
System.out.println("Value of result is : " + result);
}
}
Got an answer? Why don’t you leave it here.
No comments:
Post a Comment
Solution for this question?