Computer Science, asked by raniaraya1307, 8 months ago

c programme to display the rightmost digit of a floating number

Answers

Answered by polagokul
0

Answer:

C program for number of days remaining in a year for the given date and month of a year

Please Thank My Answer : ]

Give Thanks = Take Thanks : ]

Answered by mkannan10
0

Answer:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

#include<stdio.h>

 

void main()

 

{

   int ip,rmd;

   float fval;

 

   printf("\n\n\tEnter is value::");

   scanf("%f",&fval);

     

   ip=fval;

   rmd=ip%10;

   printf("\n right most of ::%d is rmd::%d\n\n",ip,rmd);

 

}

Explanation:

i hope it is helpful

Similar questions