Module Greatest_nested Sub main() Dim a, b, c As Integer Console.Write("Enter the values of a,b and c :") a = CInt(Console.ReadLine()) b = CInt(Console.ReadLine()) c = CInt(Console.ReadLine()) If a > b Then If a > c Then Console.WriteLine("Greatest=" + a.ToString()) Else Console.WriteLine("Greatest=" + c.ToString()) End If Else If b > c Then Console.WriteLine("Greatest=" + b.ToString()) Else Console.WriteLine("Greatest=" + c.ToString()) End If 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 the greatest among 3 integers
Subscribe to:
Post Comments (Atom)
Awesome code thanks, you are the only one that realize that i need not the max value but the variable that has the max value so thanks again
ReplyDeleteapplets for java for starters
ReplyDeleteThis comment has been removed by the author.
ReplyDeletedas facts
ReplyDeletedas actually facts fam
ReplyDeletehttps://bayanlarsitesi.com/
ReplyDeleteEskişehir
Erzincan
Ardahan
Erzurum
TE2M6W
izmir evden eve nakliyat
ReplyDeletemalatya evden eve nakliyat
hatay evden eve nakliyat
kocaeli evden eve nakliyat
mersin evden eve nakliyat
NOS
7AF5C
ReplyDeletemobil sohbet siteleri
bitlis parasız görüntülü sohbet
aydın seslı sohbet sıtelerı
van canlı sohbet odası
siirt rastgele görüntülü sohbet
muğla rastgele canlı sohbet
karabük kadınlarla ücretsiz sohbet
muş canlı sohbet
Şırnak Canlı Sohbet Siteleri Ücretsiz
2A816
ReplyDeleteBitcoin Madenciliği Nasıl Yapılır
Binance Hesap Açma
Binance Hesap Açma
Facebook Sayfa Beğeni Satın Al
Mexc Borsası Güvenilir mi
Bitcoin Üretme
Sweat Coin Hangi Borsada
Coin Nedir
Bitcoin Para Kazanma
61B532F906
ReplyDeleteinstagram ucuz takipçi