Write a program that compares two fi les whose names are provided as user input.

Assuming that a text fi le contains characters in the ASCII range 0 to 127 and contains at least

one newline character, create a function that uses the fi lename as argument to return 1 if the

fi le contains only text, or -1 otherwise.

Write a program that compares two fi les whose names are provided as user input. The program

must quit with a suitable message that indicates the location in the fi le where the fi rst mismatch

was encountered.

find the cost of your paper

prepare a lead container of mass 1.5 kg and pour 0.65 kg of water into it, both at the room temperature of 20.5°C.

You are at a restaurant eating lunch with a friend. After the meal, your friend realizes they left their wallet at home. Your friend gives you a piece of silver….

Given the above information, how many people did McKinsey and BCG hire in the year 2013?

There are two big consulting firms in Melbourne, McKinsey and Boston Consulting Group (BCG); assume that their clients view them as providing identical consulting services. They hire people on yearly….

write a program that reads a file and displays all of the words in it that are misspelled.

A spell checker can be a helpful tool for people who struggle to spell words correctly. In this exercise, you will write a program that reads a file and displays….