Problem Statement - Error finding, typedef and others
Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined.
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 <<endl; }
Solution
CSKC| Created: 3-Dec-2018 | Updated: 2-Jan-2019|CBSE12A-2018