User Profile

Collapse

Profile Sidebar

Collapse
culture
culture
Last Activity: Dec 16 '08, 03:20 PM
Joined: Oct 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • culture
    started a topic C++ Unfinished Program
    in C

    C++ Unfinished Program

    My code is pasted at the bottom

    I am writing a program that gives a user four (4 options)
    1) Reorder Sentence
    2) Sentence Encryption
    3) Count Vowels
    4) Quit

    My problem is that I have completed options 3 (Count Vowels) and 4 (Quit), but i am having some problems with options 1 and 2.
    first of all in option 1; case 1 (Reorder Sentence), my program displays to the user to type the sentence...
    See more | Go to post

  • culture
    replied to Sentence Encryption in C++
    in C
    If a user enters a sentence, the program should display both the encrypted and unencrypted output.

    Therefore, the input is a string input, no numbers
    And it can contain both upper and lower cases

    A=1, B=2, C=3, D=4, E=5, F=6 and so on...
    a=33, b=34, c=35, d=36, e=37 and so on...

    So, if a user enters the sentence
    The cat
    the output would be:

    Encrypted:...
    See more | Go to post

    Leave a comment:


  • culture
    replied to Sentence Encryption in C++
    in C
    If a user enters a sentence, the program should display both the encrypted and unencrypted output.

    Therefore, the input is a string input, no numbers
    And it can contain both upper and lower cases

    A=1, B=2, C=3, D=4, E=5, F=6 and so on...
    a=33, b=34, c=35, d=36, e=37 and so on...

    So, if a user enters the sentence
    The cat
    the output would be:

    Encrypted:...
    See more | Go to post

    Leave a comment:


  • culture
    started a topic Reorder Sentence in C++
    in C

    Reorder Sentence in C++

    Hello,
    I have a problem in C++ that has been giving me a bit of problem.

    I am suppose to write a program that allows a user to enter a sentence, and then ask for two positions from the user, and then switch around the sentence according to the positions entered.

    If the user enters a negative number as a position to switch; the program should end.

    If the user enters a number less than one, or greater...
    See more | Go to post

  • culture
    started a topic Sentence Encryption in C++
    in C

    Sentence Encryption in C++

    I have a problem in C++. I am writing a program to convert a sentence to a string of numbers. The encryption technique is:
    A=1, B=2, C=3...Z=26
    a=33, b=34, c=35...z=58

    I am not suppose to convert spaces they should be left in the string. So, say for example, a user typed the sentence: The Cat

    My final program should display:

    Encrypted: 204037 33352
    Unencrypted: The Cat

    ...
    See more | Go to post
No activity results to display
Show More
Working...