Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7797043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:33:26+00:00 2026-06-01T23:33:26+00:00

Hi guys I am using shoes to tackle a problem for ign’s code foo.

  • 0

Hi guys I am using shoes to tackle a problem for ign’s code foo. The problem is

You own a license plate manufacturing company. Write a program that takes a population and determines the simplest pattern that will produce enough unique plates. Since all the plates that match the pattern will be generated, find the pattern that produces the least excess plates. Use a combination of letters (A-Z) and numbers (0-9).

I have tried to get a grip on shoes but why when I wrap a instance variable like this

@pop = ask("what is the Population?")

When I wrap it again like this:

@plates = @pop / 2

then again I want to create a simple alert

alert(@plates)

this isn’t for the answer to the question this is just simpler. Just to learn. If you have any suggestions on actual coding of the project and how I can solve the problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:33:27+00:00Added an answer on June 1, 2026 at 11:33 pm

    Everything is almost right.
    However “@pop” is being assigned the “String” so you need to convert it to Float or whatever numerical type you wish, e.g.:

    @plates=@pop.to_f/2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys, I have another really annoying problem in IE. I am using a
Hey guys i am using edit text in my application. Problem arises if user
Many standard modules are all using straight up perl -- problem is these guys
I would like to know what guys are using to make diagram of your
Hi guys I'm using this method to check if my app is in background
Guys, I am using SQL Server 2000 and executing the sp_columns stored procedure to
Hey guys, I'm using Twitter's PHP API, called twitterlibphp , and it works well,
Guys. How to I do to using association of the simple_form gem, but do
guys which text editor is good for Rubyonrails? i m using Windows and i
Guys i am very new to jQuery. I have started using the auto complete

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.