Ask Question
27 April, 06:56

Using a for loop, print the decimal equivalents of ½, 1/3, ¼, ... 1/10. Also, using a while loop, print the decimal equivalents of ½, 1/3, ¼, ... 1/10.

+1
Answers (1)
  1. 27 April, 09:14
    0
    Pseudo code here

    int i;

    for (i=2, i<=10; i++)

    {

    print 1/i;

    }

    i = 2;

    while (i < = 10)

    {

    print 1/i;

    i++;

    }
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Using a for loop, print the decimal equivalents of ½, 1/3, ¼, ... 1/10. Also, using a while loop, print the decimal equivalents of ½, 1/3, ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers