Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Really need help with writing this program. i just dont understand what goes where!?
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
NedBC




PostPosted: Thu Feb 07, 2013 2:53 pm   Post subject: Really need help with writing this program. i just dont understand what goes where!?

Write a program to calculate your bill at KFC. the user should enter the quantity of each item into the appropriate text box. the cost of items are, legs = $1.89, wings = $0.25, & chickens = $3.99.
the user should click on a button (btncalculate) to calculate the bill. each item must have an itemized total (quantity * price). Display the subtotal of the entire bill before tax, then the sales tax at a rate of 6% and the final total of the bill. Before the bill is displayed, the entire list box should be cleared. Be sure your list box is large enough to display the entire bill. A clear button should clear all text boxes and the list box.

theres three txt boxes
a calculate button and clear button
and the listbox for results

I started with DIm legs, wings, chickens As Souble

legs = CDbl(txtlegs.text)
wings = CDbl(txtwings.text)
Chickens = CDbl(txtchickens.text)

i dont even know if that is right, im just confused on how to write it so it shows how each of them get priced and separated.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Feb 07, 2013 3:07 pm   Post subject: RE:Really need help with writing this program. i just dont understand what goes where!?

refer to your previous assignments / examples from class. Is there anything that's in any way similar, that you can refer to?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: