Write a PHP script that checks a word or a phrase (stored in a string variable) to determine if it is a standard palindrome, a perfect palindrome, or not a palindrome at all. Also, for each letter that the word/phrase contains, count and print the number of times that each consonant and vowel is encountered. Your output will look as follows:
Word/phrase: racecar
Perfect palindrome
Contains consonants:
r - 2
c - 2
Contains vowels:
a - 2
e - 1
In: Computer Science
Explain the accounting procedures for changes in accounting policies and estimates and the correction of errors.
(please do not write back word for word that you find on the internet, summarize or put in your own words)
In: Accounting
OLD TESTAMENT
1. State the word “integrity” definition using 3 Hebrew terms.
2. Show 3 verses using the word “integrity”.
3. Analyze each concept in context.
In: Nursing
How does the image of the "economy" as the "household" affect the way one may think about today's economics? What connotations does the word "household" have that the word "economy" does not have?
In: Economics
Write a MIPS assembly language program that implements the following pseudo-code operation:
result = x + y – z + A[j]
x and y should be in reserved memory words using the .word directive and labeled as x and y. Initialize x=10 and y=200.
Read in z from the console. Input the value -8. This is the value for z, not for –z. Store this value in memory with the label z. To begin, you could just initialize z to a value using .word directive and test your code.
Read in j from the console. The value of j should be in the range [0, 3]. Input the value 2. You do not need to check j for the proper range on input.
Reserve 4 words in memory for A with the label A. Assume A is referenced starting at A[0]. Initialize these 4 words to: 4, 9, 15, 20. E.g.,:
A: .word 4, 9, 15, 20
Which number is A[j]? In order to get an element, you will need the load address instruction, which loads the address of a label into a register. E.g., to load the starting address of label A, A[0], into $t0, you would do the following:
la $t0, A
You can then use $t0 as an address in the normal way for an lw or sw instruction, as needed.
Store the final result in a reserved memory word labeled result.
Your final data section might look like this:
.data
x: .word 10
y: .word 200
z: .word 0
A: .word 4, 9, 15, 20
result: .word 0
prf: .asciiz "The result is: " #String for printing
crlf: .asciiz "\n" #For printing a cr/lf
Output the result to the console prefixed by a string that reads (without the quotes):
"The result is: "
The result should follow this string on the same line. E.g., the output to the console might be:
The result is: 5768
Check your data segment to be sure values are stored appropriately. Only the memory locations for z and result should be changed from initial values.
In: Computer Science
In: Economics
In: Computer Science
how do I copy my word data to excel
I typed my report on word document and would like to
copy them on excel 2013 in other to add table and graph
In: Math
Chapter Name: Handmaid of ethics: Corporate Social Responsibility
Creative Question: (Some question have a requirements which is give with the question)
In: Economics
Exercise 3 – Strings
Using a function Write a program that prompts the user to enter two inputs: some text and a word. The program outputs the starting indices of all occurrences of the word in the text. If the word is not found, the program should output “not found”.
Example1:
Input1: my dog and myself are going to my friend
Input2: my
Output: 0 11 31
Example 2:
Input1: Programming is fun
Input 2: my
Output: not found
In: Computer Science