🔒 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.

About this Thread

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

Trending Topics

Online now

Members online
403
Guests online
3,804
Total visitors
4,207

Forum statistics

Threads
2,308,633
Posts
29,186,320
Members
1,192,127
Latest member
karding0922
Back
Top