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...

How to Increment the value of the empid E001 for each and
every employee by using the programe?

Answer Posted / akshay

Algorithm:
1.Take last used value into string variable.
2. Use String function to remove alphabet from value and store in temp string.
3. convert remaining part into int32.
4. increment by 1.
5. Append temp string and incremented value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does and I oop mean?

1104


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

2323


What is overloading and its types?

1079


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

1066


What is the important feature of inheritance?

1070


What is the oops and benefits of oops programming?

926


What is encapsulation oop?

994


What is advantage of inheritance?

1128


Can bst contain duplicates?

1143


What are the two different types of polymorphism?

1086


What is encapsulation in simple terms?

975


What is the example of polymorphism?

1024


What is oops and its features?

1025


What is the purpose of enum?

965


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2189