Answer:
michal jackson i think who credit to people invented viral dances.
Answer:
phrase[2:5]
Explanation:
Given:
The above code segment
Required
Which instruction returns 'u a'
First, we need to get the index of u in the phrase:
u is at the third position but in programming, index starts at 0.
So, u is at index 2
Next, we need to get the index of a in the phrase:
a is at index 4
One of the ways to return a sub string from a string in python is ![string[start:stop+1]](https://tex.z-dn.net/?f=string%5Bstart%3Astop%2B1%5D)
Where:
----- index of u
----- index of a
phrase ---- The string variable
So, the instruction that returns 'u a' is: ![phrase[2:5]](https://tex.z-dn.net/?f=phrase%5B2%3A5%5D)
<em>Where 5 = 4 + 1</em>
public static void quarterstodollars(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter number of Quarters:");
System.out.print("Quarters:"); int Q1 = input.nextInt();
DecimalFormat fmt = new DecimalFormat("$#,###.##"); System.out.println("Total:"+fmt.format(calctotal(Q1)));}public static double calctotal(int Q1) { double total; total=(0.25 * Q1); return (total);}
Hope this helps!
To lock multiple rows (starting with row 1), select the row below the last row you want frozen, choose the View tab, and then click Freeze Panes. To lock multiple columns, select the column to the right of the last column you want frozen, choose the View tab, and then click Freeze Panes<span>.
I hope my answer has come to your help. Thank you for posting your question here in Brainly. We hope to answer more of your questions and inquiries soon. Have a nice day ahead!
</span>
I think with a admin to the window it will be notified