Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Need Help with Visual Logic "Loops and Arrays"

  • This topic is locked This topic is locked



    New Member

  • Member
  • Pip
  • 1 posts
I'm having a ton of trouble with doing this assignment for my Prog class and need tons of help. (Loops and Arrays)

1) Mr. Smith is an instructor and his students often wish to know the class
average of his exams.
Create a program that will allow Mr. Smith to enter what the exam is out of, all
the marks for his students and display the average of the marks. Mr. Smith doesn’t
know the exact number of students he has, so he would like to enter the marks
until he types in -1.

2) Write a program, using loops, that generates the following diamond and outputs it
to the console.
Note that every line contains an odd number of circles.

3)Write a program that accepts five input values and stores them into an array. The
program should display those five numbers in reverse order. The program should
then display all the numbers in the array that are larger than the average of the
five numbers.

4) An election is approaching and the candidates of the election want a program to
determine who won the election, as well as who came in last place (in order to
laugh at him).
Develop a program that will allow the user to enter in the candidates names and
the number of votes that person received. The program will then sort the
information and output the names of the big winner and big loser.
(Hint: Use parallel arrays.)

If anybody can help me out with any of these it would be wicked.

Attached Files

  • 0




    Tech Staff

  • Technician
  • 1,323 posts
Hello m6i6k6e and welcome to geeks to go,

I'm sorry, but we have a policy against assisting with homework assignments. All we can do is direct you to resources that can help you. With that, here's a tutorial you can watch:
Visual Logic Tutorial
Visual Logic FAQ

There are not many resources available for Visual Logic. Outside of this, your best options would be to consult your textbook and/or your teacher/professor.

Thanks for your understanding,

  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP