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 does no cap mean?
What is pure oop?
How to hide the base class functionality in Inheritance?
What is overriding in oops?
What makes a language oop?
What does <> mean pseudocode?
Why do we use class in oops?
What do you mean by Encapsulation?
What is encapsulation in simple terms?
What are the benefits of polymorphism?
What are classes oop?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Can we define a class within the interface?
What are constructors in oop?