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
is there any choice in opting subjects like 4 out of 7
What is polymorphism oop?
What is the difference between static polymorphism and dynamic polymorphism?
What is oops?what is its use in software engineering?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is multilevel inheritance?
can inline function declare in private part of class?
Can static class have constructor?
What is overloading and its types?
What is the main purpose of inheritance law?
Is react oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Can you explain polymorphism?
What are the 3 principles of oop?
What does and I oop and sksksk mean?