Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Need Help with Visual Logic "Loops and Arrays"


  • This topic is locked This topic is locked

#1
m6i6k6e

m6i6k6e

    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

Advertisements


#2
Ax238

Ax238

    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,

Ax
  • 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