ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 06 Jun 2017 My Price 8.00

NewestMultiply.vb

' NewestMultiply.vb - This program prints the numbers 0 through 10 along
' with these values multiplied by 2 and by 10.
' Input: None
' Output: Prints the numbers 0 through 10 along with these values multiplied by 2 and by 10.
Option Explicit On
Option Strict On
Module NewestMultiply
Sub Main()
' Declarations
Const Head1 As String = "Number: "
Const Head2 As String = "Multiplied by 2: "
Const Head3 As String = "Multiplied by 10: "
Dim NumberCounter As Integer ' Numbers 0 through 10
Dim ByTen As Integer ' Stores the number multiplied by 10
Dim ByTwo As Integer ' Stores the number multiplied by 2
Const NUM_LOOPS As Integer = 10 ' Constant used to control loop
' This is the work done in the housekeeping() procedure
System.Console.WriteLine("0 through 10 multiplied by 2 and by 10")
' This is the work done in the detailLoop() procedure 

' Write your Do Until loop here

End Sub ' End of Main() procedure
End Module ' End of NewestMultiply module

 

 

 

2.Write a do Until Loop that uses the loop control variable to take on the valued 0 through 10.

3. In the body of the loop, calculate the value of the loop control variable multilplied by 2 and by 10.

4. save this source code file in a directory of your choice and then make it that directory your working directory.

5. Compile the source code file NewestMultiply.vb.

Answers

(11)
Status NEW Posted 06 Jun 2017 03:06 AM My Price 8.00

-----------

Not Rated(0)
Relevent Questions