Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your program consist of a function that accepts two strings. Each string is the name ofa file. The first is the name of an input

image text in transcribed

image text in transcribed

Your program consist of a function that accepts two strings. Each string is the name ofa file. The first is the name of an input file and the second is the name of an output file. Name the function pangram. (Note that your program can also make use of other helper functions. Just make sure function pangram takes as arguments the input file and output file that are specified in the program) A pangram is a sentence that contains all the letters of the English alphabet at least once. For example, the quick brown for jumps over the lazy dog is a pangram. The program you are to write must read in an input file (input.trt- 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. For example, if input.trt contains we promptly judged antique ivory buckles for the next prize how quickly daft jumping zebras vex pottery is an art crazy fredrick bought many very exquisite opal jewels. mr. dumbledore is a funny name for a dog Then your program must output the following to the output.txt: true true false true false Your program consist of a function that accepts two strings. Each string is the name ofa file. The first is the name of an input file and the second is the name of an output file. Name the function pangram. (Note that your program can also make use of other helper functions. Just make sure function pangram takes as arguments the input file and output file that are specified in the program) A pangram is a sentence that contains all the letters of the English alphabet at least once. For example, the quick brown for jumps over the lazy dog is a pangram. The program you are to write must read in an input file (input.trt- 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. For example, if input.trt contains we promptly judged antique ivory buckles for the next prize how quickly daft jumping zebras vex pottery is an art crazy fredrick bought many very exquisite opal jewels. mr. dumbledore is a funny name for a dog Then your program must output the following to the output.txt: true true false true false

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel 2024 In 7 Days

Authors: Alan Dinkins

1st Edition

B0CJ3X98XK, 979-8861224000

More Books

Students also viewed these Databases questions

Question

design pattern true or false

Answered: 1 week ago

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago