Create a flowchart that assigns a counselor to a student.
You need to ask a student for the first letter of his/her last name. Assign a counselor based on the following criteria:
A through M are assigned to Ms. Jones
N through Z are assigned to Mr. Sanchez

Answers

Answer 1
Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.

The Code Given:

import java.util.Scanner;

public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}

Related Questions

You may have come across websites that not only ask you for a username and password, but then ask you to answer pre-selected personal questions about yourself. What can you conclude about this procedure and how it may increase your security?

Answers

Answer:

The questions are used to secure and identify you furthermore. Answering personal questions that only you can answer will deter someone from hacking into your account that easily.

Explanation:

Subtract 01101011-00101010

Answers

Answer:

Alexa says minus 8

Explanation:

lmaao it actually gives an answerr

A student will not be allowed to sit in exam if his/her attendance is less than 75% .
Take the following input from user
Number of classes held
Number of classes attended
And print
Percentage of class attended
Is student allowed to sit in exam or not .

Answers

Answer:

Sorry, this is too vague to understand as you don’t have any charts, graphs, or anything

Explanation:

Which elements of text can be changed using automatic formatting? Check all that apply.
A) smart quotes
B) accidental usage of the Caps Lock key
C) fractions
D) the zoom percentage
E) the addition of special characters ​

Answers

A) smart quote and B) the zoom percentage and E) the addition of special characters

Answer:a, d, e

Explanation:

Write VHDL code for the circuit corresponding to an 8-bit Carry Lookahead Adder (CLA) using structural VHDL (port maps). (To be completed before your lab session.)

Answers

Answer:

perdo si la pusiera es español te ayudo pero no esta en español

What should Stephan do to improve his study environment? Check all that apply. remove distracting technology have easy access to his study resources ask his parents to leave the room leave some food and drink for snacks while studying allow his dad to stay only if he is helping with studying remove all food and drink from the room​

Answers

Answer:

I. Remove distracting technology.

II. Have easy access to his study resources.

III. Allow his dad to stay only if he is helping with studying.

Explanation:

A study environment can be defined as a place set aside for reading and studying of educational materials.

In order to facilitate or enhance the ability of an individual (student) to learn and assimilate information quickly, it is very important to ensure that the study environment is devoid of any form of distraction and contains the necessary study materials (resources).

Hence, to improve his study environment, Stephan should do the following;

I. Remove distracting technology such as television, radio, games, etc.

II. Have easy access to his study resources. Stephan shouldn't keep his study materials far away from his study area.

III. Allow his dad to stay only if he is helping with studying.

Answer:the person above it right

Explanation:

Write a class called Dragon. A Dragon should have a name, a level, and a boolean variable, canBreatheFire, indicating whether or not the dragon can breathe fire. The class should have getter methods for all of these variables - getName, getLevel, and isFireBreather, respectively.

Answers

Answer: A dragon name could be name Holls and at level 14 and can breathe fire

Explanation:

What is a good slogan for digital citizenship?

Answers

Answer:

No matter where you are in the world you have a place to go to

Explanation:

In this world of globalization it makes sense you would be anywhere in the world and still have a place to go to.

Answer:

"If you are on social media, and you are not learning, not laughing, not being inspired or not networking, then you are using it wrong."

Explanation: (this is the freedom of speech not my words.) but there true even though and that we all (i dont know if its everyone but y'know) have to stay inside during this pandemic try to make the most of it!  

Write a program that reads in an integer and breaks it into a sequence of individual digits. For example, the input 16384 is displayed as 1 6 3 8 4 Make sure the input has no more than five characters and is not negative. (You don’t have to do this through code) Just make sure you enter correct data when running the program.

Answers

Answer:

Here you go :)

Explanation:

(This also works for strings as well)

usr = input("Enter a number: ")

usr = list(usr)

for n in range(len(usr)):

   print(usr[n], end= " ")

The program that reads in an integer and breaks it into a sequence of individual digits is in the explanation part.

What is programming?

Programming tasks include analysis, algorithm generation, algorithm accuracy and resource consumption profiling, and algorithm implementation.

Computer programming is the process of writing code that instructs a computer, application, or software program on how to perform specific actions.

Here is a Python program that reads in an integer and breaks it into a sequence of individual digits:

num = input("Enter a positive integer with no more than five digits: ")

if num.isdigit() and len(num) <= 5:

   for digit in num:

       print(digit, end=' ')

else:

   print("Invalid input!")

Thus, this program first prompts the user to enter a positive integer with no more than five digits.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2

When using the Mirror command you can delete the source object as the last step of the command. True or false

Answers

Answer:

The anwser is true it is true.

I need help I would really appreciate it

Answers

Answer:

Checks if it is a multiple of 3 and 5

Explanation:

Its an if statement using modulus division to check for a remainder. It checks if a number is a multiple of 3 AND 5. (&& and & both mean and in Java).

If the remainder of both is 0 then that means the mystery number is a multiple of both 3 and 5.

It took her 9 more months but Marina has managed to save the full $725 plus more to cover fees to pay off the pay-day loan company. However, she forgot to account for the interest that had been compounding over time. Consider it is now 275 days later, the remaining loan was $725 and the APR is 47% compounded daily.

What is the total amount that Marina must now pay in order to pay off her the loan, accounting for interest?

What is the total amount of interest paid (not including fees)?

Answers

Answer:

she loaned 750 dollars.

it took her 9 months to repay it.

it was 275 days since she took out the loan.

the interest rate was 47% per year compounded daily.

the daily interest rate would be 47% / 365 / 100 = .0012876712 per day.

this assumes 365 days in a year, which is the standard assumption that i know of.

the future value of 750 for 275 days would be based on the formula of f = p * (1 + r) ^ n

f is the future value

p is the present value

r is the interest rate per time period (days in this case)

 

n is the number of time periods (days in this case).

the formula becomes:

f = 750 * (1 + .0012876712) ^ 275

solve for f to get:

f = 1068.440089.

that's the future value of the loan.

it's what she owes.

the interest rate on the loan is that value minus 750 = 318.440089.

that's how much extra she needs to pay in addition to whatever fees she was charged.

Other Questions
can somebody help me What did John adams do before he was president help please youll get 18 points to answer this correctly Jeremy is trying to explain why a triangle with side lengths 35, 30, 60 is not a right triangle. His explanation is shown below.Step 1: 35 squared + 30 squared question mark equals 60 squaredStep 2: (35 + 30) squared question mark equals 60 squaredStep 3: 65 squared question mark equals 60 squaredStep 4: 4,225 not-equals 3,600Which best describes Jeremys explanation?Jeremys explanation is accurate.Jeremys explanation is inaccurate. He wrote the leg lengths in the incorrect order in step 1.Jeremys explanation is inaccurate. He incorrectly combined terms in step 2.Jeremys explanation is inaccurate. He multiplied incorrectly in step 4. Assume that the entry closing total revenues of $3,190,000 and total expenses of $2,350,000 has been made for the year ending December 31. At the end of the fiscal year, Teresa Schafer, Capital has a credit balance of $1,885,000 and Teresa Schafer, Drawing has a balance of $770,000. Required: (a) Journalize the entry required to close the Teresa Schafer, Drawing account. Refer to the Chart of Accounts for exact wording of account titles. (b) Determine the amount of Teresa Schafer, Capital at the end of the period. A graph has Quantity on the x-axis and price in dollars on the y-axis. A line that represents supply has a positive slope and a line that represents demand has a negative slope. The lines intersect each other at the point of equilibrium. A point on the demand line represents the quantity supplied, and a points on the demand line represents quantity demanded. Both are at the same price point below equilibrium. Use this graph to answer the following questions. In this example, what is occurring within the market? What is there an excess of? What could solve the problem shown in this graph? Analyze the map below and answer the question that follows.A thematic map of Central Asia. Climate regions are labeled 1, 2, 3, 4, and 5.Look at the map above. All of the following climate regions are located in Central Asia except the __________ region.A.marine west coastB.humid continentalC.semiaridD.aridPlease select the best answer from the choices providedABCD 1.5(a + 2) + 1.5a = 11.7 In what ways does Dobson make The Three Fates such an intriguing poem? Find the slope and y-intercept of the line in each graph. i need help please :) Define community in geographic and non-geographic terms. (Please hurry, I'll give brainliest to the person who helps the most. how many newtons to lift a 25kg weight which condition is likely to occur when warm moist air rises it to the atmosphere and cools what is the answer of this 5-x=7-2x How do you write 156 in scientific notation? The ice cream vendor s cold box holds 24 ice cream cups. The freezer has 8 cases of ice cream each with 48 cups. How many trips to the freezer will the vendor make if he sells all the ice cream? I have more for my brother. PLEASE HURRY!! Exploration era is to colonization era as colonization era is to-New World-American Revolution Era-Settling Figure 1 shows red blood cells that have been placed in isotonic, hypotonic, and hypertonic solutions. Osmotic pressure causes changes in the red blood cells. Determine which type of solution is in A, B, and C and describe what is happening to the cells. tell whether the ratios are equivalent: 3 days to 4 hours and 9 days to 12 hours. show your work.