I’m trying to make something for my calculator and this is my code:
Input "WAHT IS THE RADIUS? ",R
Input "WHAT IS THE HEIGHT? ",H
Disp R
Disp H
Disp B <-- prints this line and then stops
(πR²)→B
Disp B
2(πR²)+(2πR)H→SA
Disp SA
2π*R*H→LA
Disp LA
Disp "B: "
Disp "LA: "
Disp "SA: "
all of the variables are called in some part of the code yet my calculator still gives a “variable undefined” error when running my program.