C Programming Language Tutorial – Lecture 14 break,continue , goto

You may also like...

3 Responses

  1. mango says:

    how about if you will get the total of the 30 inputted numbers, how will you add a codes to get the sum of those integers?

  2. mango says:

    thank you!

    btw, can you help me with this?
    we need to create a program that will display the following.
    CHOOSE A LETTER FOR PATTERN __.
    [a] Pattern I
    1 0 1 0 1
    1 0 1 0
    1 0 1
    1 0
    1
    [b] Pattern II
    1
    2 4
    3 6 9
    4 8 12 16
    5 10 15 20 25
    [c] Pattern III
    2
    4 8
    6 12 18
    8 16 24 32
    10 20 30 40 50
    [d] Pattern IV
    1
    0 0
    1 1 1 1
    0 0 0 0 0 0
    1 1 1 1
    0 0
    1

    IF THE USER WILL INPUT LETTER "a" THE PROGRAM WILL DISPLAY PATTERN I
    IF THE USER WILL INPUT LETTER "c" THE PROGRAM WILL DISPLAY PATTERN III

    how to do this please :(

Leave a Reply

Your email address will not be published. Required fields are marked *