Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Input:
enter the value:1234
output:
1
2
3
4
write a program to get above output.....

Answer Posted / arunbabu.k

static void Main(string[] args)
{
Console.WriteLine("Enter text/numbers");
string str1=Console.ReadLine();
char[] ch_str = new char[str1.Length];
ch_str = str1.ToCharArray();
for (int num = 0; num < str1.Length;num ++ )
{
Console.WriteLine(ch_str [num]);
}
Console.Read();
}

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in simple terms?

1047


How oops is better than procedural?

1106


What are the features of oop?

1187


What is encapsulation and abstraction? How are they implemented in C++?

1141


Are polymorphisms mutations?

1169


How do you define a class in oop?

1132


What is static in oop?

1089


What is oops concept with example?

1042


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2213


What is encapsulation with example?

1121


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2391


what type of question are asked in thoughtworks pair programming round ?

2221


Why is oop useful?

1118


What is difference between multiple inheritance and multilevel inheritance?

1155


what is the sylabus for priliminaries?

2182