Google
 

Monday, September 22, 2008

AI LAB: Assignment 5

1. How does a string differ from a list?
2. Write a function to accept the name of the user and print "welcome ".
3. Calculate the pay of a worker in dollars by getting his pay in Indian Rupees. Use the conversion rate 1USD=42INR.
4. Write a function using yes-or-no-p that asks a person whether his salary is more than Rs.1.5 lakhs. If he answers yes then print "your income is taxable" else print "your income is not taxable".

No comments: