Home Java Chicken Shop Inventory Management using Java

Chicken Shop Inventory Management using Java

42 second read
0
1
327

This tutorial will teach Chicken Shop Inventory Management using Java step by step.

Paste the Code inside the Cal Button

double qty;
double cal;

qty = Double.parseDouble(txtqty.getText());
if(cboption.getSelectedItem().equals("Gr"))
{		        		
 cal = 500 * qty/1000;  //Gr Calculation
}
else
{	
 cal = 500 * qty; //Kg Calculation
}

txttot.setText(Double.toString(cal));

i have attached the video link below. which will do this tutorials step by step.

 

Load More Related Articles
Load More By admin
Load More In Java

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Laravel 11 CRUD Application

In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel  11 CRUD App…