Input:
enter the value:1234
output:
1
2
3
4
write a program to get above output.....
Answer Posted / bala
static void Main(string[] args)
{
string value = Console.ReadLine();
foreach (var num in value)
{
Console.Write(num + " ");
}
Console.Read();
}
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are the benefits of polymorphism?
What is the diamond problem in inheritance?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is encapsulation and abstraction? How are they implemented in C++?
When not to use object oriented programming?
Are polymorphisms mutations?
What is class encapsulation?
What is abstraction example?
Which language is pure oop?
What are constructors in oop?
#include
What is the fundamental idea of oop?
What is the main purpose of inheritance law?
What is oops in simple words?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.