Jump to content

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

the running toal is one transactions. if the transaction is sale i want the transaction to be added to the running toal else i want the transaction to be subtractd from the running total. The values of all the transactions are posotive so i will nead an if else condition. How can i do this.

 

Kind Regards.

Posted

using java syntax

(boolean experssion?expression if result is true:expression if result is false)

the type that is returned in the expression must match the type u specfied

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...