Question: I wrote this C++ code but it doesn't work can some PLEASE fix it. Thank You. I don't what i did wrong but the output

I wrote this C++ code but it doesn't work can some PLEASE fix it. Thank You. I don't what i did wrong but the output doesn't show properly it is weird symbols. THANK YOU.

MY CODE -------

#include #include using namespace std;

const int ROWSIZE = 10; const int COLSIZE = 5; const int NUMSIZE = 8; int wordcount=0; /** * Taleph - One Number Word Generator */ void combine(char* array,char letters[][COLSIZE], char* buildArr, int index, ofstream& ofile) { if(index==NUMSIZE) { ofile>array[i]; } cout

----------------------------

This is what the code was supposed to be written on.

I wrote this C++ code but it doesn't work can some PLEASE

fix it. Thank You. I don't what i did wrong but the

0 9 Many people find it difficult to memorize phone numbers, so they use the correspondence between digits on develop the seven-letter word "NUMBERS. Businesses frequently attempt to get telephone numbers that are easy for their clients to remember. Ifa TAKEOUT. Each seven-digit phone number corresponds to many separate seven-letter words the owner of a barber shop would be pleased to know that the shop's telephone number, 424-7288 corresponds to "HAIRCUT." A veterinarian with the phone number 738-2273 would be happy to know that the number corresponds to "PETCARE. Write a program that, given a seven-digit number, writes to a file every possible seven-letter word corresponding to that number. There are 2187 (3 to the seventh power) such words. Avoid phone numbers 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!