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 is abstraction in oop with example?

852


What is encapsulation in oop?

781


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1616


What are oops methods?

758


any one please tell me the purpose of operator overloading

2163


Why do we need polymorphism in c#?

875


What are constructors in oop?

796


What is for loop and its syntax?

800


What is overriding in oops?

820


What are the two different types of polymorphism?

888


what is graphics

2204


How do you answer polymorphism?

794


What is object-oriented programming? Webopedia definition

950


what are the realtime excercises in C++?

2545


How Do you Code Composition and Aggregation in C++ ?

24710