Sunday, February 25, 2018

Java Program : A retail shop Billing Software

import java.util.Scanner;
class Billing
{
    public static void main(String[] args)
    {
       
         float T=0;
       System.out.println("Welcome to Yashtosh Mart !\n");
 
 

    float t[];
   String itemName[];
  
   float quantity[];
   float rate[];
  
      String s; float k,r;
       System.out.println("input Name of item  <SPACE> Quantity <SPACE> rate press<ENTER>");
       Scanner scanner=new Scanner(System.in);
       for(int j=0;j
       itemName[]=scanner.next();
       quantity[]=scanner.next();
       rate[]=scanner.next();
   }
  for(int i=0;i<itemName.length;i++)
  {System.out.println(itemName[i]+" "+quantity[i]+" "+rate[i]+" "+"costing Rs."+quantity[i]*rate[i]);
      t[i]=quantity[i]*rate[i];

     T= T+t[i];
  
  }
  System.out.println("Your Grand Total = Rs."+T);
   

    }


}

6 comments:

  1. WOW … WOW …. WOW !This post is absolutely AWESOME! epos software for retail keep sharing the blogs....

    ReplyDelete
  2. Thanks guys ...will surely keep sharing more .

    ReplyDelete
  3. Amazing article. Thanks for sharing this informative information. Using online expense tracker you can keep track of all business and client records.

    ReplyDelete
  4. Hi friends i just want to use this opportunity to thank this great loan officer Mr Ben Lee who helped me with a loan i was very in need of $7,000,000.00 USD so i was introduce to Mr Ben Lee a loan officer so i contacted his email and i got the loan amount of $7,000,000.00 USD i will advice anyone who is in need of a loan to contact email: 247officedept@gmail.com Or you can whatsapp his via +1-989-394-3740.

    ReplyDelete

Sacred Thought

26 April 2024  Dear friends, I write the explanation of two verses of Geets for all of you, I hope you all will like it and benefit from it....