Search:

Type: Posts; User: dinakar

Search: Search took 1.84 seconds.

  1. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    I Cannot Initialize the Values I Should Get Value Depending on the value of SMALL a and based on the Logic (((30*a*14) / 100)+(30*a));
  2. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    already i Tried total = A1+A2+A3+A4; but its not working I'm Getting value of Total==0
    Please Advice me any other Logic
  3. Replies
    16
    Views
    158

    I Want to add A1,A2,A3,A4 values

    Let us Suppose I get Values for A=10= A2=30 A3=40=A4=50 and I wanna get Output as Total = 10+30+40+50==130
    Please Suggest me Code for this to happen
    In this Logic a=No Of Quantity



    public...
  4. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    Dude I Cannot able to understand Y u r not getting me No I'm Not Asking How to add buttons to Window
    Iam Asking How to add that Button Values for example my first button value is 30 and 2nd button...
  5. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    public void actionPerformed(ActionEvent ae)
    {


    float A=0;

    int a = Integer.parseInt(tf1.getText());
    if(ae.getSource()==b2)
    {
    A=(((30*a*14) / 100)+(30*a));
  6. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    Hmm due i donno nothing about Highlighting the code and formatting I'm New in this field
    I Just want to know logic to add A1,A2,A3,A4.
  7. Replies
    16
    Views
    158

    Re: How to Add all the Button Values

    Dude as I Above Shown my code was for a simple hotel management
    I Have 4 diff Items and different prices and atlast I Want to add the Price of that all items.

    import java.applet.*;
    import...
  8. Replies
    16
    Views
    158

    How to Add all the Button Values

    public void actionPerformed(ActionEvent ae)
    {


    float A=0;

    int a = Integer.parseInt(tf1.getText());
    if(ae.getSource()==b2)
    {
    A=(((30*a*14) / 100)+(30*a));
  9. Please Help me o make my Project Accurate

    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    /*
    <APPLET CODE="hotel1" HEIGHT =300 WIDTH=500 >
    </APPLET>
    */
    public class hotel1 extends Applet implements ActionListener
    {...
Results 1 to 9 of 9