A high-level programming language developed by the U.S. Department of Defense along with the European Economic Community and many other organizations. It was designed for embedded applications and process control but is also used for logistics applications. Ada is a Pascal-based language that is very comprehensive.
with Text_IO;
procedure Convert is
package Int_IO is new Text_IO.Integer_IO(Integer);
Fahrenheit : Integer;
begin
Text_IO.Put_Line("Enter Fahrenheit");
Int_IO.Get(Fahrenheit);
Text_IO.Put("Celsius is ");
Int_IO.Put((Fahrenheit-32) * 5 / 9);
Text_IO.New_Line;
end Convert;
Learn more about Ada
Related Articles