Question: A simple C program for displaying the nth digit after a decimal point. Input: enter 3 numbers e.g. 7 15 3 Whereby 7 and 15

A simple C program for displaying the nth digit after a decimal point.

Input: enter 3 numbers e.g. 7 15 3

Whereby 7 and 15 represent a fraction to compute e.g. 7/15 and 3 represents the nth digit after the decimal point.

For example 7/ 15 = 0.46666.

The 3rd digit after the decimal point is 6 so the output would be 6.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!