Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  ggggg
Language: JAVA
Code:
public class Shopping
{
    public static void main(String[] args) 
    {
        int cash      = 500;
        int bookPrice = 180;
        int foodPrice =  20;
        int sodaPrice =   7;
        cash -= bookPrice;
        cash -= foodPrice;
        cash -= sodaPrice;
        System.out.println("Cash = " + cash);
    }
}
          
Comments: