1. Display all prime numbers between two Intervals using a function.
2. Find sum of natural numbers using a recursive function.
3. Calculate the power of a number using a recursive function.
4. Write a function to convert the LKR currency into US dollars.
5. Write a function to return the trip cost which calculated using the given distance in kilometers. Note: Take 35 LKR as travelling cost per kilometer.
Answer click here.
0 Comments
Post a Comment