Author |
Message |
Proofdada
Bewarse Legend Username: Proofdada
Post Number: 30985 Registered: 03-2004 Posted From: 80.121.144.9
Rating:N/A Votes: 0(Vote!) | Posted on Wednesday, October 19, 2005 - 2:12 am: |
|
naakeemi artham kaalee.....rahul5->5-> rahul(0/p) ...ani matrame arthmayyindhi naaku.... |
Mogambo
Pilla Bewarse Username: Mogambo
Post Number: 300 Registered: 05-2005 Posted From: 68.38.199.21
Rating: Votes: 1(Vote!) | Posted on Tuesday, October 18, 2005 - 11:07 pm: |
|
string length = 1 digit ; display string from 0 to n-1 ; n here is <9 string length = 2 didgit ; display string from 0 to n-2 ; n here is <99 string length = 3 digit ; display string from 0 to n-3 ; n here is <999 Example: if the string is "pre5ce6ded10" - string position starts from 0. string length = 11 (i.e., n=11) so display string from 0 to 9 output: pre5ce6ded Use this logic to write the program. |
Freshgraduate
Pilla Bewarse Username: Freshgraduate
Post Number: 12 Registered: 05-2005 Posted From: 210.210.13.126
Rating:N/A Votes: 0(Vote!) | Posted on Tuesday, October 18, 2005 - 10:49 pm: |
|
Give a pseudo code(i am just looking for logic) |
Sultan
Kurra Bewarse Username: Sultan
Post Number: 717 Registered: 06-2005 Posted From: 68.226.157.141
Rating:N/A Votes: 0(Vote!) | Posted on Tuesday, October 18, 2005 - 10:46 pm: |
|
vachava da |
Iglisias
Pilla Bewarse Username: Iglisias
Post Number: 3 Registered: 10-2005 Posted From: 24.2.192.92
Rating:N/A Votes: 0(Vote!) | Posted on Tuesday, October 18, 2005 - 10:44 pm: |
|
livinlavidaloka |
Sultan
Kurra Bewarse Username: Sultan
Post Number: 715 Registered: 06-2005 Posted From: 68.226.157.141
Rating:N/A Votes: 0(Vote!) | Posted on Tuesday, October 18, 2005 - 10:43 pm: |
|
Dentlo ante ye Langugae lo kavali mama? |
Freshgraduate
Pilla Bewarse Username: Freshgraduate
Post Number: 11 Registered: 05-2005 Posted From: 210.210.13.126
Rating:N/A Votes: 0(Vote!) | Posted on Tuesday, October 18, 2005 - 10:39 pm: |
|
A string say "Rahul5" is given as input to a program. If you clearly observe this string is a combination of a another string and followed by its length. The programs intention is to return only the string not the length. In this case "Rahul" must be the output. Note: The inner string(in our case "Rahul")can also contain characters as digits. Take this example. "RAHUL56" is the input. so the "RAHUL5" is the output i am looking at and is preceded by its length 6. Please help me solve this problem. |