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 meant by keywords in c?

1035


Explain how do you list a file’s date and time?

987


Explain what is the difference between the expression '++a' and 'a++'?

1152


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1916


What does printf does?

1190


When should a type cast not be used?

1004


What are the differences between Structures and Arrays?

1129


Which type of language is c?

1020


What is a c token and types of c tokens?

1011


What's the best way of making my program efficient?

1038


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1015


How can I automatically locate a programs configuration files in the same directory as the executable?

1102


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15727


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

1056


Do you know the difference between malloc() and calloc() function?

1004