You are viewing our Forum Archives. To view or take place in current topics click here.
Need Help Programming A Noob Program
Posted:
Need Help Programming A Noob ProgramPosted:
Status: Offline
Joined: Aug 14, 201113Year Member
Posts: 328
Reputation Power: 21
Status: Offline
Joined: Aug 14, 201113Year Member
Posts: 328
Reputation Power: 21
Can anyone write me a code for this:
"Creat a project that calculates the total of fat, carbohydrates, and protein calories. Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein. Each gram of fat is nine calories; a gram of protein or carbohydrate is four calories. Display the total calories for the current food item in a label. Use two other labels to display an accumulate sum of the calories and a count of the items entered.
Form: The form should have 3 text boxes for the user to enter the grams for each category. Include labels next to each text box indicating what the user is to enter.
Include buttons to calculate, to clear the text boxes, and to exit.
Make the forms text property "Calorie Counter"
I would appreciate it very much!!!!!!! PLEASE HELP!
"Creat a project that calculates the total of fat, carbohydrates, and protein calories. Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein. Each gram of fat is nine calories; a gram of protein or carbohydrate is four calories. Display the total calories for the current food item in a label. Use two other labels to display an accumulate sum of the calories and a count of the items entered.
Form: The form should have 3 text boxes for the user to enter the grams for each category. Include labels next to each text box indicating what the user is to enter.
Include buttons to calculate, to clear the text boxes, and to exit.
Make the forms text property "Calorie Counter"
I would appreciate it very much!!!!!!! PLEASE HELP!
#2. Posted:
Status: Offline
Joined: Jun 25, 201014Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Status: Offline
Joined: Jun 25, 201014Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Usually helps if you stipulate to what language you want this done in. Otherwise it will be done in languages you won't understand.
Oh, and I doubt people will just code this for you. Due to the fact that one, it takes time and effort. Secondly, you won't learn. So if you gave it ago and made an effort and a start people would be more than happy to help debug it and point you in the correct direction.
Oh, and I doubt people will just code this for you. Due to the fact that one, it takes time and effort. Secondly, you won't learn. So if you gave it ago and made an effort and a start people would be more than happy to help debug it and point you in the correct direction.
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
StormTrooper wrote Can anyone write me a code for this:
"Creat a project that calculates the total of fat, carbohydrates, and protein calories. Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein. Each gram of fat is nine calories; a gram of protein or carbohydrate is four calories. Display the total calories for the current food item in a label. Use two other labels to display an accumulate sum of the calories and a count of the items entered.
Form: The form should have 3 text boxes for the user to enter the grams for each category. Include labels next to each text box indicating what the user is to enter.
Include buttons to calculate, to clear the text boxes, and to exit.
Make the forms text property "Calorie Counter"
I would appreciate it very much!!!!!!! PLEASE HELP!
Yo, Ill code this up for you just because i need a good project to waste my time while i wait for my act test to be scored... lol
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
Omg this program is completely pointless? Re-read what you want. You want the program to calculate " calculates the total of fat, carbohydrates, and protein calories"
But you want the user to enter these things? "Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein."
This means the program isnt calculating shit. All its going to do is copy the info and make the numbers bigger
lol ill make it regardless
But you want the user to enter these things? "Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein."
This means the program isnt calculating shit. All its going to do is copy the info and make the numbers bigger
lol ill make it regardless
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jan 13, 201113Year Member
Posts: 1,572
Reputation Power: 67
Status: Offline
Joined: Jan 13, 201113Year Member
Posts: 1,572
Reputation Power: 67
Majesticfalcon wrote Omg this program is completely pointless? Re-read what you want. You want the program to calculate " calculates the total of fat, carbohydrates, and protein calories"
But you want the user to enter these things? "Allow the user to enter (In text boxes) the grams of fat, the grams of carbohydrates, and the grams of protein."
This means the program isnt calculating ****. All its going to do is copy the info and make the numbers bigger
lol ill make it regardless
So 1 + 1 = 2, isn't calculating? You got 1 and 1, and you make it bigger : 2
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
You are viewing our Forum Archives. To view or take place in current topics click here.