Home Java Chicken Shop Inventory Management using Java

Chicken Shop Inventory Management using Java

42 second read
0
1
357

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

Employee Working Hours Calculation System using C#.net

Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the f…