Visual Calculation?!?

Hello dear Huntsmen's, I have evolved a bit and here is what I want to consult about: http://share.pho.to/9OWrP this code is "all right reserved" ;). Okay no jokes, so here is question.:
How to revers code, to see spited out first relevant numbers, in calculation visuals. For example x=700, c=3, l=3 and after result 715. To show 700+((3+3/3)*3+3*3).
Just telling seemingly, from were to start coding it?


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <iostream>
using namespace std;
int main(void)
{
    double x, c;
    cin>>c;
    cin>>x;
    /**To define simultanios activity with a "," for results*/
    x,c=x*c+x/(x+c);
    cin>>x, c;
    cout<<":::::::::::::::::::::::"<<endl;
    cout<<":::::::"<<x+c<<":::::::"<<"\n";
    cout<<":::::::::::::::::::::::"<<endl;
    return 0;
}
Last edited on
Topic archived. No new replies allowed.