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
What is persistence in oop?
What is byval and byref? What are differences between them?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Explain the concepts involved in Object Oriented programming.
Why is oop useful?
What do you mean by overloading?
Plese get me a perfect C++ program for railway/airway reservation with all details.
How do you explain polymorphism?
Get me an image implementation program.
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation with real life example?
What is this pointer in oop?
Where is pseudocode used?
what are the different types of qualifier in java?
explain sub-type and sub class? atleast u have differ it into 4 points?