Find Jobs
Hire Freelancers

Stack Work

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
. Write an application program [login to view URL], that uses the stack class, to decode a secret message. There will be two stacks, let’s call them stack1 and stack2. The user will enter a secret number, call it secret, followed by a string to be decoded terminated by an !. The program will read and throw away the first secret – 1 characters and push the next one onto stack1. This process is then repeated with stack2, then stack1, and so on. One exception: if the element at the top of the stack and the new character are both upper case letters, the new character should not be pushed but the algorithm should still switch to the other stack. The process should stop when no more characters are present in the string.
Project ID: 6661473

About the project

3 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello. It looks as easy work it can be done in several hours . . . . . . . . . . . . . . . . . . . . .
$20 USD in 1 day
4.9 (332 reviews)
6.4
6.4
3 freelancers are bidding on average $28 USD for this job
User Avatar
Hello, I am C++ expert. I am willing to help you do this project right now. Please contact me. Thank you
$45 USD in 1 day
5.0 (10 reviews)
3.1
3.1

About the client

Flag of UNITED STATES
Bronx, United States
5.0
4
Payment method verified
Member since Oct 17, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.