Need Help for CS class

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

spclgal
Newbie
Posts:1
Joined:Mon Sep 30, 2002 11:24 pm
Contact:
Need Help for CS class

Post by spclgal » Mon Sep 30, 2002 11:28 pm

I'm in an intro to computer programming class (QBasic) and just don't get it.  This class is required for my degree but has nothing to do with my major.  Is there somone out there that can help me survive this class?

I have a program due tomorrow and no idea where to start.  Here's the assignment:

This assignment is basically related to SUBS.
Write a program which will contain three SUBS.  In the first sub, you have to call sub 2 and sub 3.  In the second sub, you have to swap two numbes and add 10 to the first number and multiply the second number with 3 before swapping and after swapping.  The numbers should be from user input.  In the third sub, take a string and do the string operations (LEN, LEFT, RIGHT, MID) and print them in it and call sub 2.

Give the names for subs as follows:
Result for     sub #1
Swap for       sub #2
Calculate for  sub #3

Any and all help will be appreciated.
Thank you!

Post Reply