Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

mbalentle

  • 3 years ago

I have a problem with C# arrays! Can anyone help? Here is the scope of the problem I have to solve> I am expected to write a console application that is capable of doing the following: #A user must be able to enter 10 trip distances as a decimal, along with the dates of the trips as string.These values need to be stored in 2 separate arrays. The user might not always want to enter all of the trips at the same time, so as an example, it should be possible for a user to enter the data for a 4 trips and then return later to enter the other 6...or even just enter them one by one.

  • This Question is Closed
  1. mbalentle
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Also find an attachment below that will explain all the details to you!

  2. undacovabroda45
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    "user must be able to enter 10 trip distances as a decimal, along with the dates of the trips as string.These values need to be stored in 2 separate arrays." So create two different arrays, one for the distances and one for the dates. You'll have to convert the distances into floats, and convert your dates into strings.

  3. Not the answer you are looking for?
    Search for more explanations.

    Search OpenStudy
    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.