Someone Please Help!!!!

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Anonymous

Someone Please Help!!!!

Post by Anonymous » Mon Nov 20, 2006 3:36 pm

i have a project to due, i need help, can someone giude me through this or do it for me and email it to me or somthing.

Title===>> CIS 122
Sum all numbers from the list greater than 12


Read the list of numbers below and sum those that are greater than 12 in the list. Output the enitre list and the total of those greater than 12.

Center the title shown above.

The list: 32,45,6,87,4,5,17,25

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Mon Nov 20, 2006 4:24 pm

OK, here's an unwritten law of Pete's QB forums. Please do not post homework assignments without at least showing that you've put some effort into it. It generally shows apathy towards it.


Anyway, I will give you a quick layout of how the program should run.
1. Put your list of numbers into your program.
2. Test is your number is greater than 12.
3. If it is, add it to a variable that has the total. (TOTAL% would work.)
4. Loop until all the numbers are used.
5. When done, display the total and list of numbers.

Anonymous

i tried

Post by Anonymous » Mon Nov 20, 2006 4:26 pm

i have tried over and over again, i just cant get it right, i need some help big time, nothing i do works

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Mon Nov 20, 2006 4:32 pm

I'm sorry, but you should pay more attention in your classes, as your professor would not give you an assignment that was not possible from what they have taught you. If you can't make the program, you shouldn't expect someone else to do it for you. Get extra help from your teacher. Then, you will understand the topic and be able to pass your exam with honors.

Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re » Mon Nov 20, 2006 4:54 pm

Fail class, work as a floor sweeper for the rest of your life.
Now get the fork of my internets, you're just too damned stupid to be here!
I have left this dump.

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Mon Nov 20, 2006 5:50 pm

^^^^
This is why I'm glad I got to this person first. What would their image about PetesQBSite be if they saw this first?

bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm » Mon Nov 20, 2006 7:18 pm

Maybe some
You are entering at Z!re's backyard
warning at index.php would be good? :roll: :lol:

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Tue Nov 21, 2006 4:35 pm

1. ^ SPAM!

2. It's still technically Pete's backyard, but that would be a good warning...

3. If you can't do a project this simple, then you definitly need help.

Post Reply