Xcas online - function has been removed
Publié : ven. juin 05, 2020 7:40 pm
Hello, when I run this program in the online version it throws the following error message
this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!
this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!
Code : Tout sélectionner
function area_of_circle()
local Radious, Area;
DispG // start the Xcas DispG Windows
ClrIO // clean the DispG text output
printf( "Please enter the radius of a circle" );
input( Radious );
Area := 3.14 * Radious ^ 2;
printf( "The area is %gen", Area );
return "Done";
end;