Printable View
how to create a program to ask the user to input a number and accordingly create the number of variables?
Quote: Originally Posted by Saimadhav how to create a program to ask the user to input a number and accordingly create the number of variables? You can't. Variables as such are created at compile time. You can perhaps create an array based on user input, if that's appropriate. -- Mats