A C Program to find if the entered number is rounded or not.
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("Enter value of n:");
scanf("%d",&n);
if(n%10)
{
printf("The entered no. is Rounded");
}
else
{
printf("The entered no. is not Rounded");
}
getch();
}
Comments
Post a Comment