Hi All,
I need a program to input the attributes of a table, attribute names are single upper case characters, e.g., A, B. And then are asked to input non-trivial FDs and MVDs, any trivial FDs/MVDs, e.g., A->A/A->->BC for table R(ABC), or erroneous ones (A->BD, A->->BC) for table R(ABC) should be denied. Next all keys of the table are determined by calling a closure operator function, which is written by ourself. The program then decides to which normal form the table belongs. Finally users can input tuples to the table whence all the FDs/MVDs should be satisfied. Any programming language is referred, I tried in C but was unable to come up. Can someone help me with it?