. 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
write a program to create a sparse matrix using dynamic memory allocation.
is it possible to create your own header files?
What is void main () in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is the use of define in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is wild pointer in c?
What does double pointer mean in c?
What is array within structure?
Explain argument and its types.
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What are all different types of pointers in c?
Explain the difference between #include "..." And #include <...> In c?
What is a macro, and explain how do you use it?
Can you write a programmer for FACTORIAL using recursion?