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 do you mean by variable?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why do pointers exist?
What are constructors in oop?
how to get the oracle certification? send me the answer
What is object and example?
Why is abstraction needed?
What is polymorphism in oops with example?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
How do you answer polymorphism?
What are main features of oop?
Advantage and disadvantage of routing in telecom sector
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
How do you achieve runtime polymorphism?
What is encapsulation process?