Assignment associated with Visual Basic-VB.NET

Anonymous
timer Asked: Mar 29th, 2019
account_balance_wallet $40

Question Description

This assignment is associated with VB.NET. All the detailed requirements are listed in the assignment file. You just need to send the handwritten outputs to me meaning that you write the programming code for each question step by step in a Microsoft Word File. And you must write the code based on the simple examples provided by my professor. I will attach the example sheets related to the questions in the assignment. Most importantly, you don't need to write complex code such as the code you prepared for an Job interview. All you need to do is that writting the programming code simply based on the example sheets provided by me because those examples are the marking principle of my professor.

Assignment associated with Visual Basic-VB.NET
175321172410713827.jpg
Assignment associated with Visual Basic-VB.NET
280554406885335944.jpg
Assignment associated with Visual Basic-VB.NET
480558518476950147.jpg
Assignment associated with Visual Basic-VB.NET
525263781636499348.jpg

Unformatted Attachment Preview

CISY2320 Assignment 3 Due: March 20, 2019 Objective: This assignment is designed to learn programming in VB.NET. Important Note: This assignment is due at 11:00pm midnight on Wednesday March 20, 2019. The assignment drop box is located on the second floor in Loyola. Make sure that you submit your assignment to the correct assignment drop box. Questions: 1. (4 marks) Create a VB.NET Console Application that defines a function Smallest and calls this function from the main program. The function Smallest takes three parameters, all of the Integer data type, and returns the value of the smallest among the three parameters. The main program should (1) Prompt a message (using Console.WriteLine) to ask the user to input three integers. (2) Call the built-in function Console.ReadLine three times to get the user’s input. (3) Convert the user’s input from strings to integers. (4) Call the function Smallest, with the user’s input as its parameters. (5) Display the result of the function Smallest in the Console window using Console.WriteLine. You may assume that the user always correctly inputs integers from the keyboard, and your program does not have to check whether the user inputs something other than integers. Print your program and handwrite the user’s input and output at the end of the printout of your program. 2. (3 marks) Create a VB.NET Console Application that defines a subroutine and calls this subroutine from the main program. The subroutine takes two parameters x and y, both of which are of the Integer data type and of the ByRef parameter passing. In the subroutine, the following computation will be executed: x=x+y y=x–y x=x–y The main program should call the subroutine with the following combination values for the variables for its parameters: 1, 4 9, 6 7, 3 and then display the values of the variables for the two parameters in the Console window. Print your program and handwrite the output at the end of the printout of your program. 3. (3 marks) Create a VB.NET Console Application that does the following: (1) Create an Integer array which contains 8 elements. 1 (2) Assign the following values to the elements in the array: 9, 1, 8, 4, 2, 6, 7, 3 (3) Use a For-loop or For-Each-loop to compute and printout the sum of all elements of the array in the Console window. Print your program and handwrite the output at the end of the printout of your program. Submission: 1. A cover page that contains your name and student number. 2. The printouts of the programs. 3. The handwritten outputs. 2 ...
Purchase answer to see full attachment

Tutor Answer

criss53
School: University of Virginia

Attached.

Student Name:
Student Number:

Module Module1
Sub Main()
Dim value As String
Console.WriteLine("Enter three integers: ")
value = Console.ReadLine()
Dim data() As String = value.Split(" ")
Dim small As Int32 = Smallest(Integer.Parse(data(0)), Integer.Parse(data(1)),
Integer.Parse(data(2)))
Console...

flag Report DMCA
Review

Anonymous
Thank you! Reasonably priced given the quality not just of the tutors but the moderators too. They were helpful and accommodating given my needs.

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors