Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

. Write a program to get a string and to convert the 1st
letter of it to uppercase

Answer Posted / darshana

Dim str As String
Dim ch() As Char


Console.WriteLine("enter a string")
str = Console.ReadLine()
ch = str.ToCharArray
Console.Write(Char.ToUpper(ch(0)))




For i As Integer = 0 To ch.GetUpperBound(0) - 1

Console.Write(ch(i + 1))


Next
Console.WriteLine()

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is f'n in math?

1067


What are the difference between a free-standing and a hosted environment?

1286


Can we compile a program without main() function?

1120


What are the different types of pointers used in c language?

1044


what value is returned to operating system after program execution?

2118


Is c compiled or interpreted?

1192


Explain the properties of union. What is the size of a union variable

1186


What is the most efficient way to count the number of bits which are set in an integer?

1050


What is the use of sizeof () in c?

1048


What is #line?

1051


Why does this code crash?

1092


Hai what is the different types of versions and their differences

1939


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1228


write a program to print data of 5 five students with structures?

2046


Why doesnt that code work?

1174