ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Visual Basic Programming

by | Nov 29, 2023 | questions

Question1:

 

Write statements to accomplish each of the following tasks:

  1. Display the value of element 6 of array numbers.
  2. Using a For…Next statement, assign the value 8 to each of the five elements of one-dimensional Integer array values.
  3. Total the 100 elements of floating-point array results.
  4. Copy 11-element array source into the first portion of 34-element array sourceCopy.
  5. Determine the smallest and largest values in 99-element floating-point array data.

 

Question 2:

(Telephone-Number Word Generator) Standard telephone keypads contain the digits zero through nine. The numbers two through nine each have three letters associated with them (Fig. 7.29). Many people find it difficult to memorize phone numbers, so they use the correspondence between digits and letters to develop seven-letter words that correspond to their phone numbers. For example, a person whose telephone number is 686-2377 might use the correspondence indicated inFig. 7.29 to develop the seven-letter word “NUMBERS.”Every seven-letter word corresponds to exactly one seven-digit telephone number. A restaurant wishing to increase its take out business could surely do so with the number 825-3688 (that is, “TAKEOUT”).

 

You Want A Similar Paper Done? Don’t be stressed, Click Here To Order this essay!!!

Fig. 7.29.Telephone keypad digits and letters.

Digit Letters
2 A B C
3 D E F
4 G H I
5 J K L
6 M N O
7 P R S
8 T U V
9 W X Y

Every seven-letter phone number corresponds to many different seven-letter combinations. Unfortunately, most of these represent unrecognizable juxtapositions of letters. It’s possible, however, that the owner of a barbershop would be pleased to know that the shop’s telephone number, 424-7288, corresponds to “HAIRCUT.” A veterinarian with the phone number 738-2273 would be pleased to know that the number corresponds to the letters “PETCARE.” An automotive dealership would be pleased to know that the dealership number, 639-2277, corresponds to “NEWCARS.”

Write an application that allows the user to enter a seven-digit number in a TextBox, and displays every possible seven-letter word combination corresponding to that number in a multiple line scrollable TextBox when the user clicks the Generate Words button. There are 2,187 (37) such combinations. Avoid phone numbers with the digits 0 and 1.

 

You Want A Similar Paper Done? Don’t be stressed, Click Here To Order this essay!!!

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!