mercredi 26 août 2015

String in C++ Program , how to use atoi and atof in this program

Write a program to let the user input a string containing an equation and you output the solution for that equation . Test cases: Input: 3x=9 Output: The solution for "3x=9" is x=3 Input2: 2x-4=9 Output2: The solution for "2x-4=9" is x=6.5

Aucun commentaire:

Enregistrer un commentaire