1. Write a program that accepts two numbers a and b and checks whether or not a is divisible by b.
2. Write a program to accept 2 numbers and tell whether the product of the two numbers is equal to or greater than 1000.
3. Write a program to accept 2 numbers. Calculate the difference between the two values. If the difference is equal to any of the values entered, then display the following message :
Difference is equal to value <number of value entered>
If the difference is not equal to any of the values entered, display the following message:
Difference is not equal to any of the values entered
No comments:
Post a Comment