🔒 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
  • 613
    Views
  • 8
    Participants
Last reply from:
Aoshinomori

Trending Topics

Online now

Members online
1,234
Guests online
2,469
Total visitors
3,703

Forum statistics

Threads
2,332,197
Posts
29,263,272
Members
1,146,111
Latest member
haze_055555
Back
Top