Computer Science, asked by ViragJain, 9 days ago

if int a = 21, b; find
b = a++ * a++ / 2

pls help​

Answers

Answered by ItzMeSam35
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