Computer Science, asked by pothnagari4190, 11 hours ago

write a prologe program to convert fahrenheit temperature in to celsius

Answers

Answered by Anonymous
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