zaki bijak
New member
- Joined
- Sep 19, 2010
- Messages
- 1
- Programming Experience
- Beginner
I HOPE U CAN HELP ME...
INCREASE DATA IN MY Assignments...
ONLY USE CONSOLE APPLICATION
I can only just completed it, I know the new console application ..
================================================================================
1. data entry
2. computation operations
3. display output
4. exit system
used try catch exception
5. class has
ii attibute
ii. PROPERTY
iii. behavior and function
iv. constructor and destructor
ROOM PRICE...
RM30/DAY
RM70/DAY
RM90/DAY
RM120/DAY
operations +, -. . *
module should be more than one...
===============================================================
Module Module1
Sub Main()
'include the use of data
Dim name As String
Dim ic As Object
Dim tel As Integer
Dim addres As String
Console.WriteLine("put the customer name : ")
name = Console.ReadLine()
Console.WriteLine("put the customer ic : ")
ic = Console.ReadLine()
Console.WriteLine("put the customer phone nom : ")
tel = Integer.Parse(Console.ReadLine)
Console.WriteLine("put the customer addres : ")
addres = Console.ReadLine()
Console.WriteLine()
Console.WriteLine()
'paparkan output
Console.WriteLine(" COSTOMER DATA SDI HOTEL ")
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++")
Console.WriteLine(" Costomer Name : " & name)
Console.WriteLine(" No i/c : " & ic)
Console.WriteLine(" No phone : " & tel)
Console.WriteLine(" Address : " & addres)
Console.WriteLine("++++++++++++++++++++++++++++++++++++++++++++++")
Console.ReadLine()
End Sub
End Module
===============================================================
INCREASE DATA IN MY Assignments...
ONLY USE CONSOLE APPLICATION
I can only just completed it, I know the new console application ..
================================================================================
1. data entry
2. computation operations
3. display output
4. exit system
used try catch exception
5. class has
ii attibute
ii. PROPERTY
iii. behavior and function
iv. constructor and destructor
ROOM PRICE...
RM30/DAY
RM70/DAY
RM90/DAY
RM120/DAY
operations +, -. . *
module should be more than one...
===============================================================
Module Module1
Sub Main()
'include the use of data
Dim name As String
Dim ic As Object
Dim tel As Integer
Dim addres As String
Console.WriteLine("put the customer name : ")
name = Console.ReadLine()
Console.WriteLine("put the customer ic : ")
ic = Console.ReadLine()
Console.WriteLine("put the customer phone nom : ")
tel = Integer.Parse(Console.ReadLine)
Console.WriteLine("put the customer addres : ")
addres = Console.ReadLine()
Console.WriteLine()
Console.WriteLine()
'paparkan output
Console.WriteLine(" COSTOMER DATA SDI HOTEL ")
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++")
Console.WriteLine(" Costomer Name : " & name)
Console.WriteLine(" No i/c : " & ic)
Console.WriteLine(" No phone : " & tel)
Console.WriteLine(" Address : " & addres)
Console.WriteLine("++++++++++++++++++++++++++++++++++++++++++++++")
Console.ReadLine()
End Sub
End Module
===============================================================