if int a = 21, b; find
b = a++ * a++ / 2
pls help
Answers
Answered by
3
import java.util.*;
public class b
{
public static void main(String args [])
{
double a = 21 ;
double b = a++ * (a++ / 2);
System.out.println(b);
}
}
OUTPUT :
231.0
Similar questions