Like Tree3Likes
  • 3 Post By manasij7479

Hi hope you can help me

This is a discussion on Hi hope you can help me within the C# Programming forums, part of the General Programming Boards category; Create a program that prompts the user to enter personal identification number The program checks the number for validity and ...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    2

    Unhappy Hi hope you can help me

    Create a program that prompts the user to enter personal identification number

    The program checks the number for validity and prints out the status of father following:

    If the date is after 1 October 2007 printed the Social Security number can not be checked

    If the date portion of the Social Security number is not valid print to datodel is invalid

    If the modulus 11 check is not successful food printed to the modulus 11 check is failed

    If Social Security number is found valid program prints also

    Male / Female

  2. #2
    Registered User
    Join Date
    Aug 2011
    Posts
    2
    With c #

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by kermi3
    Forum Guidelines. Read before posting

    Welcome to the Message Boards at Cprogramming.com

    These boards are intended to help with problems, allow individuals to collaborate on projects, to answer questions, and generally communicate and debate, especially in relation to programming in C or C++. Before you ask a question, or post on these boards, please observe the following guidelines:

    1. Remember this is a public forum. See the Homework Policy for more details about policies on post deletion etc.

    2. There are many tutorials already made by the webmaster and moderators at Cprogramming.com - Programming Tutorials: C++ Made Easy and C Made Easy. There is also a board FAQ, which contains answers to many commonly asked questions. For other common questions please consult the FAQ Board, and for questions concerning the board itself, like how do I post, what is Private Messaging etc., checkout the vBulletin FAQ.

    3. Please follow the forum structure when posting. Post threads on the board best suited for the topic. Please do not cross post (i.e. post the same question on multiple boards). Do not bump threads. (Bumping: Posting messages on threads to move them up the list or to post on a thread that has been inactive for two weeks or longer).

    4. Don't ask people to do all your work for you. It is especially discouraged to request completed Tests, Quizzes, and Assignments, or graded work without permission from the instructor. However, this board has no way of policing whether people are asking for help on graded assignment, and we can accept no responsibility for it happening. Again, see the Homework Policy for more details.

    5. Please be careful of your language and content. Keep everything suitable for children, or it will be edited. Do not do things such as * out certain letters, or purposely misspell profanity to bypass filters. This board is a PG-13 environment. The moderators reserve the right to remove or close any thread that they deem to be inappropriate.

    6. Messages relating to cracking, (erroneously called "hacking" by many), copyright violations, or other illegal activities will be deleted. Due to the overlapping boundaries of code with malicious intent, and other legitimate uses of it, the moderators will assess each potential infraction on a case by case basis.

    7. Please construct posts with content that furthers the community or holds some merit. Messages posted solely to increase post counts, SPAM, and pointless one-liner posts are discouraged. Solicitation of any product without the consent of the Administration is forbidden. Do not post requests for clicks on referrer links of any kind. This includes indirect solicitation such as linking to a website whose purpose, in whole or in part, is such solicitation. Advertising for programming groups and jobs is allowed only on the recruitment board. (Please note the Recruitment Board Rules.) Anyone with questions about this policy, or who wants permission to post something of this nature, may PM me.

    8. Do not flame/troll. Messages whose intent is to "Flame," "Troll," or purposely insult or incite another person, or any portion of a post that "flames" will be deleted.

    9. Users are allowed only one account unless they are given special permission to hold multiple accounts. Users may not share their account or password with others.

    10. Moderators have been granted the right to use their best judgement in the pursuit of community prosperity and peaceful operation. They are permitted to police posts that do not directly infringe the technicalities of a Rule, yet fall outside the intended spirit of them. Also note; The administration reserves the right to modify these guidelines and rules, along with the terms and conditions of use for these forums, at any time, without notification.

    11. Be Nice.

    Tips for Efficient and Successful Posting

    1. Don't use all caps.

    2. Use descriptive subject lines. Do not put URGENT!, or NEED HELP NOW, etc. in your title; it will not make people look at it any faster. Doing this makes many old time helpers on this board not look at the post at all.

    3. When posting code, do not post your entire program if you only need help with one function. Post as little as possible. People are much more likely to read small amounts of code and help you, than they are to read a hundred lines of code.

    4. Use code tags whenever you are posting code more than a line or two in length. More information on code tags can be found on the sticky on top of all forums (except the General Discussion board).

    5. For maximum response results, try to Ask Questions to Smart Way.

    A list of who our moderators are may be found here.

    If you have any questions please feel free to PM or e-mail me at kermi3@cprogramming.com .

    Thank you, Kermi3 Lead Moderator
    Quote Originally Posted by webmaster
    Posting code? Read this first!

    (This was originally posted as a thread by biosx. Thanks biosx. I've made it an announcement so everyone can see it)

    This is more addressed to the newer people of this forum, but I think it would be a good refresher for some.

    USE CODE TAGS!!!

    What are code tags?
    They are HTML-Like tags that you can insert into your post and create a specially formatted box for source code.

    What are so special about these things?
    For one, they help show where you code begins and ends. Plus it doesn't mess with your spacing or indents (a typical aesthetic in programming).

    Why do you care so much?
    I love talking on these forums and giving and receiving help. However, when people are communicating code and there is no indentation and lousy spacing, code is super-hard to read.

    How do I use code tags?
    Well if you have any experience with HTML it is fairly simple to use. A tag has a beginning and ending. A beginning tag looks like this: [tag] and an ending tag looks like this: [/tag] . The tag name for the code tag is simple, it is "code". So to begin a code tag, type the following: [code] . Then type all your code or copy and paste, whatever you want. When you are done, use the closing tag which uses the same tag name but with a forward slash to denote a closed tag: [/code] .

    You forgot something.
    Quote Originally Posted by lars View Post
    With c #
    Why aren't you on the C# board then?


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Moved
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Quote Originally Posted by Salem View Post
    Moved
    This should have been moved into a restaurant board. All he did was to order the code.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  6. #6
    Registered User
    Join Date
    Jul 2011
    Posts
    14
    Code:
    using System;
    // A "Hello World!" program in C#
    namespace HelloWorld
    {
        class Hello 
        {
            static void Main() 
            {
                System.Console.WriteLine("Hello World!");
            }
        }
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is there any hope for me???
    By wesleyborthwick in forum Game Programming
    Replies: 23
    Last Post: 01-21-2010, 03:46 PM
  2. hi im new..hope u can help me..
    By dude123 in forum C Programming
    Replies: 2
    Last Post: 01-14-2009, 06:33 AM
  3. I hope some of you know Prolog.
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-24-2004, 10:18 AM
  4. Bob Hope, dead at 100 of being really old
    By Govtcheez in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-28-2003, 08:04 AM
  5. [We hope that you choke]
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 05-20-2002, 06:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21