Membuat program untuk mengonversi masukan nilai angka ke huruf, menggunakan program Java


ketentuan sebagai berikut:
100 – 80 : A
79 – 60 : B
59 – 40 : C
39 – 20 : D
<= 19 : E

Module Module1

Sub Main()
Dim IntVal As Integer
Console.Write("Masukkan Nilai;")
IntVal = CInt(Console.ReadLine)

If (IntVal <= 100 And IntVal >= 80) Then
Console.WriteLine("A")
Console.WriteLine("bagoos bgt")
ElseIf (IntVal <= 79 And IntVal >= 60) Then
Console.WriteLine("B")
Console.WriteLine("hm...lumayan")
ElseIf (IntVal <= 59 And IntVal >= 40) Then
Console.WriteLine("C")
Console.WriteLine("kurang neh")
ElseIf (IntVal <= 39 And IntVal >= 20) Then
Console.WriteLine("D")
Console.WriteLine("jelek")
ElseIf (IntVal <= 19) Then
Console.WriteLine("E")
Console.WriteLine("sangat jelek")
Else
Console.WriteLine(":-)semangad!!!")
End If
Console.ReadKey()
End Sub

End Module


1 Responses So Far:

eboneecahall mengatakan...

The Gaming Strategy for Gamblers - DrmCD
The casino has a range 경상북도 출장안마 of gaming options. The game 경주 출장샵 studio has built 김해 출장마사지 the best slots, table 경주 출장마사지 games, 오산 출장샵 and even poker rooms. There's also a lot of promotions to