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
Write a c++ program to display pass and fail for three student using static member function
What is overriding in oop?
What is destructor oops?
What makes a language oop?
What is abstract class in oop?
What is polymorphism and example?
What is overriding in oops?
#include
write a program that takes input in digits and display the result in words from 1 to 1000
What is the real time example of encapsulation?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
How to improve object oriented design skills?
• What are the desirable attributes for memory managment?
What are constructors in oop?
What is inheritance write a program to show use of inheritance?