Help needed with QBASIC!!! $ b (edit: programs listed)

tweakmm

Lifer
May 28, 2001
18,436
4
0


<< If you post them here, my friend and I can help for free. >>


yeah, i'd be glad to help out
post 'em here
 

UberDave

Platinum Member
Apr 9, 2002
2,360
0
0
1) Write a program to compute the sum of the numbers from 1 to 1000 and print the numbers as well as the total. Use a For/Next or Do Loop for the process. Print the numbers across the page fitting as many numbers as will fit on the line. After the last line is printed skip 2 lines and print the sum of the numbers along with the appropriate message that identifies what the number represents. Make sure your program contains remarks indicating your name and assignment number (David Wykrent: Qbasic #1)



2) Write a program to compute the average fuel economy for new cars. Input will consist of the make of car, city driving estimated milage and highway driving miles. Average is computed as (city +highway / 2)



Use the following data:

Villager, 17, 23

Sable 23, 30

Geo 32, 48

Jimmy 12, 19

Explorer 14, 20

Expedition 7, 9



3) In your checking account you have a beginning balance of $750.00. You write the following checks:

101. J. L. Hudson Co. $ 56.25

102. Mobile Oil Co 64.75

103 A & P Food Store 72.12

104 Nocct Credit Union 150.00

105 Dr. Jones 80.00

106 American Express 96.25

107 Ray?s Pizza 24.10

108 No-mor Ezy Loans 220.49

109 Blue cross 10.00

Write a program that will:

a) Print the beginning balance

b) Print each transaction including the new balance

c) Insure that proper column headings are printed

d) Check after each transaction to see if the account is overdrawn, if it is print a message to indicate that a deposit must be made or the bank must be notified. Also print the amount overdrawn. Do not stop the program if the account is overdrawn. All transactions must be printed and the message repeated if necessary.





Thanks man I appreciate it if you can get SOME of them done?.
-Dave
 

UberDave

Platinum Member
Apr 9, 2002
2,360
0
0
lets just say..... yes. I will fail if i dont get these done... right now I am doing like 10 assignments out of the book. :(
 

Chaotic42

Lifer
Jun 15, 2001
34,047
1,201
126


<< 1) Write a program to compute the sum of the numbers from 1 to 1000 and print the numbers as well as the total. Use a For/Next or Do Loop for the process. Print the numbers across the page fitting as many numbers as will fit on the line. After the last line is printed skip 2 lines and print the sum of the numbers along with the appropriate message that identifies what the number represents. Make sure your program contains remarks indicating your name and assignment number (David Wykrent: Qbasic #1) >>


-
For x=1 to 1000
xsum=xsum+x
print x;" "
next x
print : print
print "The number ";xsum;" represents the sum of all of the numbers from 1 to 1000"
-

Is this really it? It's odd that you have a QBASIC class. I'll give you this as an example. Do the numbers on the line have to be lined up in columns?
 

UberDave

Platinum Member
Apr 9, 2002
2,360
0
0
nah the numbers dont have to be lined up in columns.... just to the end of the screen. I have a Qbasic class that is tied into one of the basic computer classes i'm taking .... =\ i left everything until the end.

(edit)
anyways....i'm asking for the full program, that's why i offered cash /paypal ... =\
 

Rakkis

Senior member
Apr 24, 2000
841
1
0
I know he's desperate... but seriously guys, don't do his work for him.
You're cheapening the value of education and all the degrees out there everytime you help someone cheat.

There are alternative ways if you're really lost in the material. Talk with the professor.

And if you just slacked off and didn't bother to do it, boo-hoo-hoo. You made your own bed.

:|