# Qbasic Help

## Recommended Posts

Hello, am undergoing a lesson on Qbasic and was told to go do and assignment and teach my group.would be droping thequestions for help, need the solution plus how to go about teaching my colleagues that is i need to understand it.Regards

1. Develop a QBASIC program to compute the mean grade of an unspecified number of students.The sentinel value for the grade is any negative value

2. Develop a QBASIC code to

(a) input the grades at 100-,200-,300-,400- levels

(b)Then Compute the GPA

3.       Write a QBASIC code to perform the following tasks:

Read a sequence of integers and keep a running total until either

(a) A zero is read, or

(b) A hundred numbers have been read, whichever happens first

4.       write a program segment that will read 15 realnumbers into a one-dimentional array NUM, assuming that you do not know the format of the data nor how many numbers are on each line, except that all numbers on the same line are separated by aleast one blank space

5.     write a complete QBASIC Program that reads and integer array and prints out several characteristics about the array.These characteristics are:

Number of positive elements

Number of Zero elements

Number of negative elements

Trace(sum of elements on top-left to bottom-right diagonal)

Largest number of array

##### Share on other sites

Google is an excellent source to find the information you need.

It is often a good thing to do your own research for your own job / school assignments. I sure hope no one helps you.

##### Share on other sites

We don't take demands...

##### Share on other sites

W

I sure hope no one helps you.

Unless he shows that he's actually trying to do something himself instead of waiting for someone to do his job.

##### Share on other sites

Like i said earlier, i just need someone to guide me towards creating it and provide sample codes when applicable. Didnt use google because i can get the kind of support i would get here,there. So please mates,help me out...

##### Share on other sites

Where exactly are you stuck?

##### Share on other sites

Where exactly are you stuck?

At the first hurdle; being too lazy to research stuff himself, like he's supposed to. Self reliance is a good skill to have, as is initiative.

##### Share on other sites

Wow QBASIC. Didn't think it still existed. You can't get stuck with it. It's the easiest language to learn.

##### Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Restore formatting

Only 75 emoji are allowed.