🔒 Closed Help visual basic

Status
Not open for further replies.
Agree dun sa posts sa taas. Pinaka-basic pa lang yan sa vb. Aralin mo muna ung basic syntax and semantics, pati variable declarations.
Di makakatulong sayo in the long run kapag binigay ko lang yung sagot
 
You need to read this
You do not have permission to view the full content of this post. Log in or register now.

Then for the first part parang ganito

Module Module1

Sub Main()
Console.WriteLine("This program accepts inputs for the length and width of a rectangle and then compute and display its perimeter and area")
Console.Write("Enter value for length : ")
Dim length As Double = Console.ReadLine()
Console.Write("Enter value for width : ")
Dim width As Double = Console.ReadLine()
Console.WriteLine("The perimeter of the rectangle is {0}", 2 * length + 2 * width)
Console.WriteLine("The area of the rectangle is {0}", length * width)
Console.WriteLine("Press any key to continue...")
Console.ReadKey(True)
End Sub

End Module


Paki check kung magagamit mo yung same idea para sa second activity
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 8
    Replies
  • 617
    Views
  • 8
    Participants
Last reply from:
Aoshinomori

Trending Topics

Online now

Members online
1,085
Guests online
8,893
Total visitors
9,978

Forum statistics

Threads
2,354,243
Posts
29,382,859
Members
1,079,384
Latest member
chuerys
Back
Top