print(id,'off');
Publié : sam. févr. 09, 2019 4:11 pm
Hello PRINT command if the entry is an identifier, label the output with the name identifier, this is important, but sometimes you only want the value without a label, for this reason it is a good idea to add a second interpretation parameter where it is indicated that the label is not desired
any ideas
print(Area,'off');
print(Area,0);
print(Area,false);
any ideas
print(Area,'off');
print(Area,0);
print(Area,false);
Code : Tout sélectionner
function area_of_circle( )
begin
local Area, Radious;
ClrIO;
printf( "Please enter the radius of a circle" );
input( Radious );
Area := 3.14 * Radious^2;
print( "The area is " + Area );
print(Area);
print(Area,'off');
return Done;
end