Module maximum Sub main() Dim a, b As Integer Console.Write("Enter the values of a and b :") a = CInt(Console.ReadLine()) b = CInt(Console.ReadLine()) If a > b Then Console.WriteLine("Maximum=" + a.ToString()) Else Console.WriteLine("Maximum=" + b.ToString()) End If Console.ReadLine() End Sub End Module
Visual Basic dot net VB.net programming microsoft .net framework object oriented language network enabled technology visual basic 2005 IDE integrated development environment console application microsoft cre common runtime environment
Find Maximum between 2 numbers
Subscribe to:
Post Comments (Atom)
c++ math codings for beginners
ReplyDeleteWww.maazamaster.net
ReplyDeleteWww.maazamaster.net
ReplyDeleteSir, can you write a program to check harshad number.
ReplyDelete