Ada
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.
The following Ada program converts Fahrenheit to Celsius:
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;
Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.
Browse dictionary definitions near Ada
Share on Facebook