Thread: Help Me,, I have 9 Looping Question for C / C++

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Talking Help Me,, I have 9 Looping Question for C / C++

    Hello!! Everyone,,, Can you help me to solve this problem!!! I don't know how to program it in DevC but i think it is easier for you to Solve it!!!! Please Help ME!!!!

    here's my 9 questions!!
    1.)6
    16
    25
    33
    40
    46
    51
    55
    53
    60

    2.)1
    3
    2
    4
    6
    3
    6
    9

    3.)2
    4
    3
    4
    5
    4
    5
    6

    4.)Design a program using C that input 20 integers and display the sum using for loops.

    5.)Write a code that will loop by inputting any integer and displays whether the integer is “POSITIVE” or “NEGATIVE”, and terminate the loop if the integer is equal to zero using while loops.

    6.)Construct a C program that will terminate the loop if the entered password is “CORRECT”, using do-while.

    7.)Create a program that will loop by inputting any character, and terminate the loop if “PRGLF” are entered consecutively. (Using do-while).

    8.)Build a program that will display all prime numbers from 1 to 1000 using loops.

    9.)Design a program that will input integer and display it in reverse using loops.

    Thank You Very Much!!!! Please Help ME!!!!

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Guess you ignored this, huh?

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    15
    Show us the code that you have so far and I give you a couple of hints.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I can say one thing: if the OP doesn't show some effort either myself or one of the other mods will close this thread in less than 9 days.

  5. #5
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    Quote Originally Posted by Bubba View Post
    I can say one thing: if the OP doesn't show some effort either myself or one of the other mods will close this thread in less than 9 days.
    Oh really?

  6. #6
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    Here's another while you're at it. http://cboard.cprogramming.com/cplus...lp-only-c.html

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Yes, really!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL buffer channels question
    By TriKri in forum Game Programming
    Replies: 3
    Last Post: 12-09-2009, 05:52 PM
  2. Newbie question, C #
    By mate222 in forum C# Programming
    Replies: 4
    Last Post: 12-01-2009, 06:24 AM
  3. Looping question
    By sparkyf in forum C Programming
    Replies: 2
    Last Post: 10-25-2003, 03:21 PM
  4. Not the normal looping question...
    By JKI in forum C++ Programming
    Replies: 12
    Last Post: 10-18-2003, 06:02 PM
  5. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM