Finding Divisible Value in C Programming on June 23, 2018 Get link Facebook X Pinterest Email Other Apps #include <stdio.h> int main() { int n,d,r; printf("\nEnter the number :"); scanf("%d",&n); printf("\nEnter divided number :"); scanf("%d", &d); r=n+d-(n%d); printf("\nNumber :%d",r); return 0; } Comments
Comments
Post a Comment