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
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.
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 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started