write a prologe program to convert fahrenheit temperature in to celsius
Answers
Answered by
0
Answer:
Exconvert_clpr/2 */
/* Arg 1: temperature in degrees Celsius */
/* Arg 2: temperature in degrees Fahrenheit */
/* Summary: Converts between Celsius and */
/* Fahrenheit. */
/* Author: P J Hancox */
/* Date: 24 October 2012 */
convert_clpr(Celsius, Fahrenheit) :-
{ Celsius = (Fahrenheit - 32) * 5 / 9 }.planation:
DIRECTIONS- ensure_loaded(library(clpr)).
Similar questions