# Updating file random access stages of grief dating Writeline ("THE NUMBER IS A PRIME NUMBER") End Sub End Module 2.7 Write a program to give example of method overloading.

 Imports System Module m Sub main() Dim r, p as integer Dim d, b, p1 as double Console.

 The implicit program are shown as: Imports System Module m Sub main() Dim a, b As Integer Dim c As Double Console.writeline("Enter 2 integers") a = CInt(Console.readline()) b = CInt(console.readline()) c = a * b Console.

Writeline("Multiple : ", c) End Sub End Module  The explicit conversion program is shown as: Imports System Module m Sub main() Dim a, b As Double Dim c As integer Console.writeline ("Enter 2 integers") a = CDbl (Console.readline()) b = CDbl (console.readline()) c = Cint (a / b) Console.

I also guide them in doing their final year projects.

Writeline ("Enter the Number of years") N = console.readline() Int= P * N * R / 100 Console.This functionality is possible with the interface extends channel I/O with the notion of a current position.Methods enable you to set or query the position, and you can then read the data from, or write the data to, that location.Writeline ("Interest: ", Int) T = P (1P*N*R/100) Console. Write ("Enter the second digit :") Dim b as Double = CDbl (Console. Writeline() On Error Go To handler If s = 1 Then Console.Writeline("Total Amount: ", T) End sub End module 2.4 Write a program which accepts number from user and calculate factorial value by user defined function. Writeline ("Enter the first digit: ") Dim a As Double = CDbl (Console. Writeline ("The addition is: " & (a b)) Else If s = 2 Then Console.   Easy Tutor says Hello Friends, I am Free Lance Tutor, who helped student in completing their homework.