Input: String of expression
A21 (+-) BB6C

Output:
1) String
T (+-)T
2) file
000 | 121
001 | BB6C

write the program with C++

Since it was assigned to you maybe you should write it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.