Thread: help! what are the codes needed to display this output?

  1. #1
    Registered User
    Join Date
    Jun 2015
    Posts
    1

    help! what are the codes needed to display this output?

    (OUTPUT)
    x c o m p u t e r s w
    0 1 2 3 4 5 6 7 8 9 .
    ==MENU==
    [1] Code
    [2] Number
    [3] Exit
    Enter your choice: 1
    //If you choose 1:
    Enter the code: mowrs
    The equivalent is: 32.89
    //if you choose 2:
    Enter the number: 153.2
    The equivalent is: cumwo

  2. #2
    Registered User
    Join Date
    Jun 2015
    Posts
    1,640
    Easy!
    Code:
    puts("(OUTPUT)\n"
         "x c o m p u t e r s w\n"
         "0 1 2 3 4 5 6 7 8 9 .\n"
         "==MENU==\n"
         "[1] Code\n"
         "[2] Number\n"
         "[3] Exit\n"
         "Enter your choice: 1\n"
         "//If you choose 1:\n"
         "Enter the code: mowrs\n"
         "The equivalent is: 32.89\n"
         "//if you choose 2:\n"
         "Enter the number: 153.2\n"
         "The equivalent is: cumwo");

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Entering Country Codes to display flags
    By Robert Harp in forum C Programming
    Replies: 9
    Last Post: 10-11-2012, 08:17 AM
  2. Help needed with code to display something similar to DIR
    By CharlieCrawt in forum C Programming
    Replies: 19
    Last Post: 12-06-2011, 12:17 AM
  3. Replies: 9
    Last Post: 09-11-2011, 08:28 PM
  4. networking communication sample codes needed
    By f6ff in forum Networking/Device Communication
    Replies: 4
    Last Post: 06-06-2006, 09:43 PM
  5. Display Help Needed
    By niroopan in forum C++ Programming
    Replies: 1
    Last Post: 10-23-2002, 11:10 PM

Tags for this Thread