Need Help with Visual Logic "Loops and Arrays" |
![]() ![]() |
Need Help with Visual Logic "Loops and Arrays" |
Nov 26 2007, 03:13 PM
Post
#1
|
|
|
New Member ![]() Posts: 1 OS: Windows Vista |
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 File(s)
|
|
|
Nov 28 2007, 08:40 AM
Post
#2
|
|
![]() TA Moderator Posts: 1,277 From: SET HOMEPATH OS: Windows 95/98/2000/XP/Vista |
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 |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
1 / 521 | 7th October 2004 - 01:20 AM dlarkin77 started - last by Marz1983 |
|||||
![]() |
1 / 673 | 18th November 2007 - 12:50 AM Harilaos started - last by Ax238 |
|||||
![]() |
1 / 509 | 26th November 2007 - 09:01 AM Scorpion.StRiKe started - last by Ax238 |
|||||
![]() |
15 / 564 | 1st September 2008 - 04:56 AM JK in CO started - last by Rorschach112 |
|||||
|
Time is now: 5th December 2008 - 06:38 AM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |