subject

A pangram is a sentence that contains all the letters of the English alphabet at least once. For example, the quick brown fox jumps over the lazy dog is a pangram. The program you are to write must read in an input file (input. txt - a plain text file which contains 5 sentences), line by line and check if the line read is a pangram or not. If the sentence read is a pangram, it writes true to the output file. If it is not, it writes false to the output file.

Create a pangram function that takes in two strings as arguments: the first for the name of input file and second for the name of output file. The function must adhere to the following type signature: string * string -> unit. This should be written in the language oCaml

Skeleton code **

let pangram ( (inFile : string), (outFile : string) ) : unit =

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:10
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
You know the right answer?
A pangram is a sentence that contains all the letters of the English alphabet at least once. For exa...
Questions
question
English, 29.05.2021 09:20
question
Medicine, 29.05.2021 09:20
question
Mathematics, 29.05.2021 09:20
question
History, 29.05.2021 09:20
Questions on the website: 13722367