. 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
What do you mean by dynamic memory allocation in c? What functions are used?
Is calloc better than malloc?
List some applications of c programming language?
Who is the founder of c language?
What is #pragma statements?
What is FIFO?
Explain About fork()?
Write a code of a general series where the next element is the sum of last k terms.
What is the difference between mpi and openmp?
How can I read a binary data file properly?
What is unary operator?
What is the use of c language in real life?
What is maximum size of array in c?
Write programs for String Reversal & Palindrome check
Can one function call another?