. 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
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What does %p mean c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
simple program of graphics and their output display
write a program to display all prime numbers
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Apart from dennis ritchie who the other person who contributed in design of c language.
What is the basic structure of c?
What is the use of linkage in c language?
show how link list can be used to repersent the following polynomial i) 5x+2
What is a program?
In a header file whether functions are declared or defined?
Hi can anyone tell what is a start up code?
What are the primitive data types in c?
Why is c called "mother" language?