You ran this program and it would ask questions on what you wanted to do. Then it would generate the code (in basic) for the program you wanted to write.
I'm afraid such program is impossible. While it is possible to have some frameworks for simple generic cases, you can't simplify every possible program to such questionnaire (to handle every possible case imaginable the program would get so complex it'd need to ask so many questions that it'd be faster to just write the program directly).
That's why we have programmers.