Monday, July 18, 2011

Write a program to round off an integer "i" to the next largest multiple of another integer "j". For ex:?

write a program to round off an integer "i" to the next largest multiple of another integer "j". For ex: if the value of i and j are 32 and 5, 32 rounded off to the next multiple of 5 = 35, a multiple of 5. This is the answer. Similarly finnd the logic for other unknown combinations, which is required in C programming

No comments:

Post a Comment