Bot program to count the products bought in the supermarket, with total sum.
int sum = 0; int milk = 10; int bread = 15; int apple = 13; int tomato = 12; int hamburger = 20; sum = milk + bread + apple + tomato + hamburger; System.out.println("The sum is " + sum);