Q1 Write Program Using Looping Constructs Adds Even Numbers 16 26 Inclusive Q2 Write Progr Q37078665

Q1.    Write a program usinglooping constructs that adds up all the evennumbers from

          16 through 26 inclusive.

        

Q2.     Write a programthat accepts 10 individual values of gallons, oneat a time, and converts

          each value entered to its liter equivalent beforethe next value is requested.

          Using looping construct.

          Promptthe user each time to enter the gallons. Your program then computesto

          convert it into liters.

          

         NOTE: 1 US gallon = 3.79Liters   

Q3.    Write aprogram that reads the letter codes   Ato Z and prints the corresponding.

          telephone digit. Use a sentinel controlled loopfor your program structure.

******************************************************************************

     Note: Use any of thefamiliar looping constructs ( for, while, ordo-while) to program.

      For loops

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.