Thread: i need serious HELP!!!

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    31

    i need serious HELP!!!

    i am really really new with this programming....i have an assginment..n i need serious HELP with it!!!
    the qestion is as follows:

    i have to write a program which prompts the user for an int and a char...the output shoukd be a diamond.. if the int is an even number, it should be increased to the next odd number.
    so, for example, if the integer is 11 and the character is an asterick (*), the diamond would look like this:

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

    i need sriuos hepl on this ppl!!!!!!!!!

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Post your code, give a problem.

  3. #3
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330

    ~

    i need sriuos hepl on this ppl!!!!!!!!!
    "He who makes a beast of himself, gets rid of the pain of being a man." Dr. Johnson

  4. #4
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    try it, then post your code with the problem(s) you are having. also, this has been asked before, so a search should help you get started.

  5. #5
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    This thing has been done MANY times in the short time that I've been a member...so if you don't want to try and learn your self, put a little effort in searching these boards....I'm sure you'll find something there...also READ THE FIRST TWO POSTS!

    axon

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. People sure are serious about their hot sauce...
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 06-26-2008, 02:55 PM
  2. Need serious help with a circle program
    By CheeseMonkey in forum C Programming
    Replies: 2
    Last Post: 04-20-2002, 12:48 PM
  3. customizing BSOD (serious)
    By iain in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-04-2001, 07:18 PM