Reference no: EM132637519
1. User inputs a word, the program outputs the middle letter of that word, e.g. if "Jeremia" is input, it will output "e". If "Jeremy" is input, and the word length is an even number without a middle value, the program will divide in 2 and round DOWN and output "r".
2. Given a list of words, the program will ask user to input a word and will search its list for a match. If match is found, the program will output the index at which the inputted word is found, otherwise it would output "not found", e.g. in a list "donkey","cactus","fish","goat", if the user inputs "cactus" the program should output "found at index 1", if "zebra" is input, the output is "zebra not found".
3. We have two arrays, of 4 elements each. The first array contains names, the other array contains integers representing points earned by each of the names in the other array. The user inputs a name, the program finds the matching name in the first array, remembers its index, then it outputs the element from the integer array that is at the same index as the match. If no match is found, the error code of "-999" is output.
Construct an nfsa to accept languages
: Construct an NFSA to accept each of the following languages. Make sure that your NFSA contains at least one nondeterministic state, but no -moves are allowed.
|
How voltaire attacks philosophical reasoning generally
: After reading Candide, write a paper comparing the optimistic philosophy of Pangloss with the pessimism of Martin. Explain how Voltaire uses this contrast.
|
Search for a specific student by student id
: Now search for a specific student by student id from you data.txt file. For example: search by student id 302, it should return result in the following manner:
|
Demonstrate the number of units transferred to assembly
: Determine the number of units transferred to Assembly. During May, Cutting department completed a number of units of a product and transferred them to Assembly.
|
Find the matching name in the array
: 1. User inputs a word, the program outputs the middle letter of that word, e.g. if "Jeremia" is input, it will output "e".
|
What type of situation would a company use multiple cost
: Explain two products or services that might use both process and job order costing methods to determine the cost of a finished unit.
|
Describe importance and use of scriptural moral teachings
: Address the importance and use of scriptural moral teachings - the Ten Commandments, for example - in Jewish ethics. The response must be typed.
|
Suggest a evaluating capital investments of company
: Suggest a evaluating capital investments of your selected company in the emerging markets to reduce risk. Provide a rationale for your suggested methodology.
|
Find the oil changes required to earn net income
: Find the oil changes required to earn net income of $20,000, assuming fixed costs are $32,000 and the contribution margin per unit is $8.
|