C program that reads a floating point no. Then displace the rightmost digit of the integral part of the number
Answers
Answered by
3
Answer:
C program for no.Of days remaining in a year for the given date and month of a year
Answered by
3
int main()
{
float num;
int x;
scanf("%f",&num);
x=(int)num;
printf("%d",x%10);
return 0;
}
Similar questions
Art,
6 months ago
Computer Science,
6 months ago
Computer Science,
1 year ago
Biology,
1 year ago
Math,
1 year ago