Fraction calculator and file processor
Write a c program to do some tasks related to fraction operations and others related to file processing:
The main menu will be as shown below:
1- Fraction addition
2- Fraction subtraction
3- Fraction multiplication
4- Fraction division
5- File processing
The result of fraction operations will be a fraction in its lowest form.
You need to use LCM (Least common multiple) and GCD (Greatest common divisor) for fraction addition, subtraction, and reduction to lowest form.
If the user chooses file processing, the program will show another menu as shown below.
1- count words in the file
2- find and display characters with their frequencies
3- search for a word in the file
4- go to main menu
The Exit option in both menus will terminate the program. The 3 first choices of the file processing menu will ask for the file name which will be read from the user. Option 2 will look for all characters present in the file (excluding spaces and new line characters) and put them in a string with their count. After that the program will display them with their frequency i.e. how many times they are present in the file. For option 3, the file name and the word to search for will be read from the user.
- Program must contain as many functions as needed. Divide the problem into small tasks and each task handled by a function.
- The source code SHOULD contain the comments on the different functions.
44 freelancers are bidding on average $55 for this job
Hello there, I have extensive experience in C/C++ programming and can do this task easily. Looking forward to your positive response. regards
Hi I'm a software developer for 2 years and I have 6 years experience in working in C language. I'll be happy to fulfill your requirements. Marius
I can deliver your requirements within 2 days with complete functionality. I am immediately available full time for this work. Please select me as I can start working and hand you the code. Thank you. Monish Sonpal