Answer:
Answer provided in screenshot, not really too happy with my implementation but it works.
Explanation:
Iterate through months, handling logic for every 12 months to get the raise.
Answer:
Calculus is a branch of mathematics focused on limits, functions, derivatives, integrals, and infinite series. ... Calculus has widespread applications in science, economics, and engineering and can solve many problems for which algebra alone is insufficient.
The program receives inputs for the name, number of droids and wookiees a user wants and displays the information as a complete sentence. The program written in python 3 goes thus :
name = input('Enter name : ')
<em>#</em><em> </em><em>prompts</em><em> </em><em>user</em><em> </em><em>of</em><em> </em><em>name</em><em> </em>
num_droid = int(input('number of droids : '))
<em>#prompts</em><em> </em><em>for</em><em> </em><em>number</em><em> </em><em>of</em><em> </em><em>droids</em><em> </em>
num_wooks = int(input('number of wookiees : '))
<em>#prompts</em><em> </em><em>for</em><em> </em><em>number</em><em> </em><em>of</em><em> </em><em>wookiees</em><em> </em>
print(name, ' wants to meet', num_droid, 'droids and',num_wooks , 'Wookiees' )
<em>#displays</em><em> </em><em>the</em><em> </em><em>information</em><em> </em><em>as</em><em> </em><em>a</em><em> </em><em>complete</em><em> </em><em>sentence</em><em> </em>
<em>A</em><em> </em><em>sample</em><em> </em><em>run</em><em> </em><em>of</em><em> </em><em>the</em><em> </em><em>program</em><em> </em><em>is</em><em> </em><em>attached</em><em> </em>
<em>Learn</em><em> </em><em>more</em><em> </em><em>:</em><em> </em><em>brainly.com/question/25506437</em>
Answer & Explanation:
//written in java
public class Main {
public static void main(String[] args) {
//String stored in a variable named phrase
String phrase = "Brainly";
//Checking whether the first character is in upper case or not
if (Character.isUpperCase(phrase.charAt(0)))
System.out.println("capital");
else
System.out.println("not capital");
}
}
Umm, I guess you just try to do one? I don't know.. Sorry if I couldn't help out.
I believe you can do it!