sin ,cos and tan functions !!!
hello ;
i want to create a simple calculator for only sin , tan and cos functions ,
the calculator is containing 3 buttons to calculate an input label and 3 output labels for each function
but when i wrote the following code for every button all the functions were wrong
on(release){
output_txt.text = Math.cos(input1_txt.text)
}
on(release){
output_txt.text = Math.tan(input1_txt.text)
}
on(release){
output_txt.text = Math.sin(input1_txt.text)
}
what is the right code to make these functions
