write a small program in CLIP to code that shall work like a simple computerized study advisor. Your program will collect some data from the user and then suggest a field of study. To keep this simple, we have limited and restricted our cases to have a simple design, good enough to give you the basic idea. You need to follow the stated conditions in true spirit.
Your program shall talk to the user in the following manner:
The first message shall appear on screen as below after the program is executed with (run) command.
Welcome, I am your computerized study advisor...
Please enter your student ID: mc1236 (let say user enter)
Enter your Name: Ali (let say user enter)
User shall type his/her ID and Name that will be recorded as facts in the system. Next program shall ask user to enter marks in math’s subject. If student marks in math subject is below 50 then system shall simply advise the student to take admission in FA. Otherwise (i.e. in case where student marks in math subject is greater or equal to 50) the
Comments
Leave a comment