0
How to add a variable without defining a value?
Angle_in_radians = Angle_in_degrees * pi / 180 The essence is to make a translation from degrees to radians. But the program will make its own difference. What should I do?
6 Respuestas
0
which language
Please put the language of your question in the tags.
0
What do you mean by defining a value ?
What do you mean by Program will make its own difference ?
0
If you do not specify a value for the variable, the compiler will select a random number
0
The value of the angle in degrees (0,2п) is given. Determinite the value of this same angle, taking into account that 180 degrees = п radians
0
Did write some code.
https://code.sololearn.com/cBexiA3ka5V0
Not sure if I understand your question
double degrees; //define a variable
degrees = 10; //assign a value
radians = (degrees * PI) //use a variable
so you can't use a variable if you do not define it.
0
All okay, because I decided problem