- You can't make y an input because it depends on x which is an input. Until you can state your want in concrete terms, it can not be coded.
- You could make z an int in the range [101 … 300] and then only use z/100.0 below.
- y is not an enumeration.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i have 2 variable first one is intiger and fix and secondor is first one * a double value
exmple
input int x=60;
double z=1.01 ,1.02,1.03........3.00
y=x^z
i want x & y as input . but also i want limit y becuse it shode be x*z
enum y
{
y01=(x*1.o1),y=(x*1.02)
};
this is not work.... do you have any solution.... is it possible?