# Rewrite the Following C++ Code After Removing Any/All Syntactical Error with Each Correction Underline Note: Assume All Required Header Files Are Already Included in the Program. - Computer Science (C++)

Rewrite the following C++ code after removing any/all syntactical error with each correction underline

Note: Assume all required header files are already included in the program.

Typedef Count(int);
void main()
(
Count C;
cout<<"Enter the count:";
cin>>C;
for (K = 1 ; K<=C;K++)
cout<< C "*" K <<end1;
}

#### Solution

typedef int Count;
void main()
{
Count C;
cout<<"Enter the count:";
cin>>C;
for (int K = 1 ; K<=C; K++)
cout<< C << “*” << K <<end1;
}

Concept: Concept of Object Oriented Programming in C++
Is there an error in this question or solution?