Questions: 358

Answers by our Experts: 358

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

The following code is supposed to take input from the user and print out each entry and add them together with a final print out of the total of all input numbers. The code does exactly that, but I don't get how it prints each input without the writeline being inside the loop. If I move the writeline into the loop, it double prints the input. Any help understanding this would be greatly appreciated. Thanks


Sub Main()

    Dim sum As Integer

    Dim inValue As Integer

    Console.WriteLine("Enter a number: ")


    Do

      inValue = Console.ReadLine()

      If inValue <> -1 Then

        sum += inValue

      End If

    Loop Until inValue = -1


    Console.WriteLine(sum)


    Console.WriteLine("press enter to exit")

    Console.ReadLine()

  End Sub


Convert the mathematical expression to visual basic formula


W= Pr²÷√q²+s²

Ajayi bello applied for a bed space in the unity hall of residence but was not allocated for one, he later got an accomodation in apete through an agent he was asked to pay the following


(1) Rent of #36,000 per annum


(2) 5% caution fee


(3) 10% maintenance fee


(4) 5% legal fee


(5) 10% agency fee



Write a visual basic code to display the total amount that will pay for that year



How can you declare a variable in vb.net

Write an extensive program that will display any student profile with


(1) full name


(2) matric number


(3) age


(4) programme (e.g)(ft)


(5) level

Write a visual basic code to find the circumference of a circle with a user defined radius

Write a visual basic code that will display the odd number in a user defined range

Given the snippet below


Sub( )


Dim a,b,f sum As integer


Dim d, prod as single


X=10


Y=3


Sum=X+Y


Prod=X*Y


P=X/Y


Q=X/Y


Calculate the expected result d,f, sum and product and write it down

Convert the following mathematical expression to visual basic formula



(1) -b ± √b²-4ac÷2a



(2) pr²÷√q²+s²

Write a visual basic program to compute multiplication table of any integer

LATEST TUTORIALS
APPROVED BY CLIENTS