console text-editorI would make a customized stack that allows popping off the front and pushing to the back.
read substring by reverse[code]#include <iostream>
using namespace std;
string str = "...
Fractions Evaluating to 0[code]return (input - 32) * (5 / 9);[/code]
Look here. 5/9 = 0 because its integer division. Same...
just shoot me nowYou need to compile the code.
Save the code as a .cpp file.
If you are using code blocks:
generating random valuesHere is something I found after a quick search:
double randDouble(double low, double high)