C# in Irvine, CA
I have a project in c# and I want some help in Arrays
This assignment is designed to demonstrate that you understand the basics of programming. By this I mean you should demonstrate the following:
Variable declaration and assignment
Conditionals (if statements)
Loops
Converting simple types
Working with arrays
For this assignment only, you may use any language you prefer. In this class we will be using C# for all the rest of the assignments, however some of you may not be familiar with the language yet. You should however be able to complete this assignment in a language you learned in another class. If you cannot do this simple task in the language of your choosing, you are very likely going to have a difficult time completing this course this semester.
If you think you won't have any trouble at all completing this assignment, please try doing this in C#, especially if you have not used C# before. This will be a great project to get you off and running for the semester.
If you have significant trouble doing this assignment, please come see me and let's figure out a way to get you caught up to where you need to be. The prerequisites for this course should have you to the point where you can complete this assignment easily, but that is not always the case.
Assignment
Write a program that allows me to type in any word and get the value of the word. You will calculate the value of the word by assigning a value to each letter starting with A going through Z. You will use the Fibonacci sequence to assign values. Start your sequence with zero so then the values will start as follows:
A = 0
B = 1
C = 1
D = 2
E = 3
F = 5
G = 8
... .. ..
Z = 75025
Using this series, the value of the word "CAB" would be equal to 2. This is because C = 1, A = 0, and B = 1; 1 + + 1 = 2.
I should be able to type in any word and get a single number value back that represents the "value" of the word.
Below are some test words that you can use to validate that your code is working properly. I will also test your code with other words.
UNC 6999
objects 7181
object 4597
Zoology 122621
Polymorphism 52934
Deliverables
Upload a single zip file containing all of your code. In the comments please put any instructions you think I need to know in order to run your code. For example, if you use Python, which version of Python. If you used Java or Visual Basic, perhaps tell me which IDE and version you used.
Sent by Taz on 8/30/17
Setup FREE profile
to buy Taz's job about C# in Irvine, CA
- I like TutorZ because as soon as I get a notification, I purchase the lead for as little as two dollars.
Within minutes I have made a call or sent a direct email.
I usually set up a first session for that week....sometimes that very same day!
Now let's start studying....
by Matt Horwich, Cleveland, OH
More Testimonials