Input:
enter the value:1234
output:
1
2
3
4
write a program to get above output.....
Answer Posted / mahesh.b.p.c
static void Main(string[] args)
{
string value= Console.ReadLine();
foreach(object num in value)
{
Console.WriteLine(num);
Console.WriteLine();
}
Console.Read();
}
Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
Can enum be null?
Why interface is used?
Can destructor be overloaded?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is encapsulation in oop?
any one please tell me the purpose of operator overloading
Which language is pure oop?
Why oops is important?
What makes a language oop?
How do you define a class in oop?
What is multilevel inheritance explain with example?
How does polymorphism work?
What is encapsulation process?
Can bst contain duplicates?