Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» NewBlueFx TotalFX Windows-FL | 1.11 GB
Tue Dec 17, 2013 12:42 pm by titquarra

» NewBlueFx TotalFX Windows-FL | 1.11 GB
Tue Dec 17, 2013 12:42 pm by titquarra

» Celebrity.Sex.Tape.UNCUT.&.UNRATED.2012.720p.BRrip.x264.YIFY.mp4
Tue Dec 17, 2013 8:32 am by titquarra

» Maya Autodesk Personal Learning Edition 8.5
Tue Dec 17, 2013 7:47 am by titquarra

» Tuyệt Kỹ Đong Giai Chân Kinh (tuyệt Kỹ cua trai)
Thu Aug 23, 2012 5:38 am by Admin

» Tuyệt kỹ cua giai
Thu Aug 23, 2012 5:36 am by Admin

» NETCAT.........
Mon Aug 13, 2012 6:35 am by Admin

» Bảo mật CSDL bằng phương pháp mã hóa.
Tue Apr 17, 2012 10:04 pm by Admin

» Hàm mã hóa MD5 bằng JavaScript
Tue Apr 17, 2012 10:03 pm by Admin

Shopmotion


Affiliates
free forum


Tim so lon nhat 3 so

View previous topic View next topic Go down

Tim so lon nhat 3 so

Post  Admin on Sat Jan 15, 2011 1:19 am

Code:
Code:
Imports System.Console
Module Module1

    Sub Main()
        Dim var1, var2, var3, Max, Min As Integer
        Console.Write("Moi ban nhap so thu nhat: ")
        var1 = Console.ReadLine()
        Write("Moi ban nhap so thu hai: ")
        var2 = ReadLine()
        Write("Moi ban nhap so thu ba: ")
        var3 = ReadLine()
        Max = var1 : Min = var1
        If Max < var2 Then
            Max = var2
        Else
            If Min > var2 Then
                Min = var2
            End If
        End If
        If Max < var3 Then
            Max = var3
        Else
            If Min > var3 Then
                Min = var3
            End If
        End If
        WriteLine("Max: " & Max)
        WriteLine("Min: " & Min)
        ReadKey()
    End Sub

End Module

Admin
Admin

Tổng số bài gửi : 782
Join date : 2009-08-15

View user profile http://hackis.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum