Take an array copy it to
another and reverse it
Console application
Module Module1
Sub Main()
Dim arr(4), arr1(4) As Integer
Dim i As Integer
For i = 0 To arr.Length - 1
Console.WriteLine("Enter {0} element of array:", i + 1)
arr(i) = Convert.ToInt32(Console.ReadLine())
Next
Array.Copy(arr, arr1,
arr1.Length)
'Array.Copy(source,
destination, Destination Length)
Array.Reverse(arr1)
For i = 0 To arr1.Length - 1
Console.Write("Enter {0} element of array in Reverse
order:", i + 1)
Console.WriteLine(arr1(i))
Next
Console.ReadLine()
End Sub
End Module
Output:-






Top Forex Brokers in India
ReplyDeleteThe top forex brokers in India are known for offering secure, regulated, and reliable trading environments for traders across the country. These brokers provide competitive spreads, fast order execution, and access to powerful trading platforms such as MetaTrader 4, MetaTrader 5, and cTrader. They also offer strong customer support, multiple account types, and convenient deposit and withdrawal options suited to Indian traders. Most importantly, reputable brokers are either regulated by global authorities or registered with Indian oversight bodies, ensuring safety and transparency. Choosing one of the top forex brokers in India helps traders enjoy smoother trading, better tools, and a trustworthy platform to grow their forex journey.
Contact us Address – 1st Floor, The Sotheby Building, Rodney Bay, Gros-Islet, SAINT Lucia P.O Box 838, Castries, Saint Lucia Phone no – +97144471894 Website – https://winprofx.com/