English Language and Literature homework help
CS-4337.0u1 Project #2 (Logic Progrmming) 16SuUsing SWI-Prolog.Luhn Algorithm Design a predicate luhn/3 that is an implementation of the Luhn Algorithm and returns true if the parameter is an integer that passes the Luhn test and false otherwise. Examples:?- luhn(799273987104).true.?- luhn(49927398717).false.?- luhn(49927398716).true.