Jump to content

Free help from tech experts
Welcome to Geeks to Go forums. Create a FREE account now to gain access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing topics, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. Best of all, registration and all assistance is 100% free! This message, and all ads will be removed once you sign in.
Create an Account Login to Account

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

Similar Topics: Need Help with Visual Logic "Loops and Arrays"     x


#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


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

As Featured On:

featured