Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   С/С++, C#, Delphi, .NET, Asm (https://forum.antichat.xyz/forumdisplay.php?f=24)
-   -   Visual Basic (Console Application) (https://forum.antichat.xyz/showthread.php?t=156030)

~EviL~ 12.11.2009 17:06

Visual Basic (Console Application)
 
Код:

Console.WriteLine("Square area = {0}. Square perimeter = {1}.", sArea(7.) , sPerimeter(7.) )
error BC30203: Identifier expected.

Код:

Function sArea(ByVal x As Double) As Double          Return (x * x)      End Function        Function sPerimeter(ByVal x As Double) As Double          Return (4 * x)      End Function
??? :mad:


Время: 06:39