Questions
Please Fix Syntax Error import java.util.Scanner; public class SalaryCalc {    double Rpay = 0, Opay...

Please Fix Syntax Error

import java.util.Scanner;

public class SalaryCalc {
   double Rpay = 0, Opay = 0;

   void calPay(double hours, double rate) {
       if (hours <= 40) {
           Rpay = hours * rate;
           Opay = 0;
       } else {
           double Rhr, Ohr;
           Rhr = 40;
           Ohr = hours - Rhr;
           Rpay = Rhr * rate;
           Opay = Ohr * (1.5 * rate);
       }
   }

   public static void main(String[] args) {
       Scanner sc = new Scanner(System.in);
       String name;
       int shift = 0;
       Double rate, hours;
       System.out.println("Pay Calculator");
       String ch = "";
       //added loop here to take the inputs repetedly
       do {
           System.out.println("Enter Your Name");
           name = sc.next();
           System.out.println("Enter Your Shift, Enter 0 for Day, Enter1 for Night");
           System.out.println("0=Day, 1= Night");
           shift=sc.nextInt();
           System.out.println("Enter Number of Hours Worked");
           hours = sc.nextDouble();
           System.out.println("Enter Hourly Pay");
           rate = sc.nextDouble();
           SalaryCalc c = new SalaryCalc();
           c.calPay(hours, rate);
           Double Tpay = c.Rpay + c.Opay;
           System.out.println();
           System.out.println("Calculate Pay");
           System.out.println("Employee Name: " + name);
           System.out.println("Employee Regular Pay: " + c.Rpay);
           System.out.println("Employee Overtime Pay: " + c.Opay);
           System.out.println("Employee Total Pay: " + Tpay);
           if (shift == 0) {
               System.out.println("Employee PayPeriod is Friday");
           } else {
               System.out.println("Employee PayPeriod is Saturday");
           }
           //asking user if they want to continue to enter another employee data
           System.out.println("Press Y to continue.Other key to exit ");
           ch=sc.next();
       } while (ch.equalsIgnoreCase("y"));
   }
}

In: Computer Science

Rub wool on the Styrofoam cup and hold it over tiny bits of paper on the...

Rub wool on the Styrofoam cup and hold it over tiny bits of paper on the lab table. What happens to the paper?

Put down some dark paper and a pile of salt and observe the interaction with the charged cup. What happens to the salt?

Consider the fundamental forces: gravity, electromagnetic, as observed with the interactions with salt and pepper. How does this demonstrate the relative strengths (which is stronger?) of these fundamental forces?

Rub the balloon with the wool cloth (or with your own hair). What kind of charge does the balloon acquire? Bring the charged balloon near the bits of paper or salt. Will it “pick up” tiny bits of paper? Yes Observe how distance affects the interactions. What difference does distance make?

Charge it up again and press against a wall made of sheetrock (not brick or stone). Will it stick to the wall? No Go to the sink, turn on the water so that there is a small, steady stream. “Charge up” your plastic tube and hold it close to the top of the stream of water. What happens and why?

Now rub the plastic tube with a square cut from a cooking bag. Write a procedure that you can use to determine if the plastic tube has acquired a net positive or a net negative charge from the cooking bag. (you can use some of the other materials).

Bring the plastic tube charged with the cooking bag near the aluminum can. What happens to the aluminum can when the tube charged from the cooking bag is held near it?

In: Mechanical Engineering

ETHICS EXERCISE SEVENTEEN Jan Fields is leaving her office to start her daily round of sales...

ETHICS EXERCISE SEVENTEEN

Jan Fields is leaving her office to start her daily round of sales calls when the telephone rings. Her plans for the morning go awry as the angry voice on the other end of the line demands to know the status of an order. The order represents Jan’s biggest sale to date and the first her company has made with a major franchise.

Jan quickly contacts Ken McBride. Ken feels his breath catch in his chest. As he had predicted earlier in the month, production has fallen behind schedule. Now he has a unique part on hand that is needed for two different orders. He has to decide whether to use it to fill a regular customer’s order, which is legitimately far ahead of the one in question and urgently needed, or to honor Jan’s frantic request.

Ken could reduce his immediate stress level and save Jan’s day by bumping the regular customer’s order. This move would cause a serious problem for the valued old customer. However, no business would be lost, of course, because the old customer would have no way of knowing that its order has been set aside to accommodate a new customer in the hope of generating future sales.

[“Boxed In, An Ethical Dilemma”; Business Communication, Strategies and Skills; 4th Ed., The Dryden Press, 1991]

Assignment:

  1. How should Ken resolve the dilemma?

  1. Based on Ken’s decision, what action do you recommend for Jan?

How could the company reduce or avoid such situations in the future?

In: Operations Management

- All the following are reported as current liabilities except: Notes payable due in 3 years...

- All the following are reported as current liabilities except:

  1. Notes payable due in 3 years

  2. Deferred revenues

  3. Notes payable due in 8 months

  4. Accounts payable

- In each succeeding payment on installment note:

  1. The amount of interest expense is unchanged

  2. The amount of interest expense increases

  3. The amount of interest expense decreases

  4. The amounts paid for both interest and principal increase proportionately

- Which of the following is considered to be a Land Improvement asset?

  1. A sprinkler system

  2. A warehouse

  3. A printing press

  4. A dump truck

- The sale of gift cards by a company is direct example of:

  1. Deferred revenues

  2. Installment notes

  3. Current portion of long-term debt

  4. Sales tax payable

- Flamingo Company borrows $30,000 using a five-year, long-term installment note payable. The rate on the note is percent and Flamingo agrees to make monthly payments of $566.14. Which of the following statements is correct about Flamingo’s first payment?

  1. Note payable reduction is $125.00 and interest is $441.14

  2. Note payable reduction is $441.14 and interest is $125.00

  3. Note payable reduction is $123.16 and interest is $442.98

  4. Note payable reduction is $442.98 and interest is $123.16

- Young Company is involved in a lawsuit. The liability that could arise as a result of this lawsuit should be recorded on the books of Young if:

  1. The likelihood of losing the lawsuit is reasonably possible and the amount is reasonably estimable.

  2. The likelihood of losing the lawsuit is probable and the amount is not reasonably estimable.

  3. The likelihood of losing the lawsuit is remote and the amount is reasonably estimable.

  4. The likelihood of losing the lawsuit is probable and the amount is reasonably estimable.

In: Accounting

Week Two: Statement of Ethics Compose a statement of ethics of 500 words. Whereas the professional...

Week Two: Statement of Ethics

Compose a statement of ethics of 500 words.

Whereas the professional philosophy statement (work statement) from week one focused on specific knowledge, skills and work experience, the primary focus of the statement of ethics is to share a little about the values, beliefs, or life experiences that are relevant to your chosen career. For the purpose of this assignment, a general statement of ethics based on your field is fine, but feel free to imagine you are applying to a specific business and tailor the statement accordingly. RELATED TO R.N. NURSES

Ethical strengths to consider:
Strong Work Ethic
Reliable
Team player
Honest
Flexible
Professional
Resourceful

Consider the following questions to help guide you:

  • Why do you feel drawn to your particular career field? What makes you passionate about it? How do you show, in tangible terms, enthusiasm for your work?
  • What are some of your deepest values and beliefs, and how have these impacted your life and career choices?
  • What significant life or educational experiences have had the greatest influence on you?  
  • Who do you hope will help through your career and in what way?
  • Can you point to specific examples of how your values or ethics influenced important life or career decisions?

A few additional points:

  • Maintain a professional tone. While you are encouraged to share personal values and experiences, the tone of the document should not be too casual.
  • While it is fine to show passion and conviction, avoid a tone that feels dogmatic or contentious. Remember that others may share a different perspective.
  • Double-check grammar and spelling. This statement is a reflection of your professionalism.

Just as with the professional philosophy statement from week one, it is recommended that you begin with an introductory paragraph, followed by one or more body paragraphs, and to end with a concluding paragraph that summarizes your overall perspective and will leave a lasting impression. Feel free to include a brief quotation in the introduction or conclusion if you find one that nicely illustrates your viewpoint.  

Blogs should include a visual presence. Consider adding a graphic, photo, or other visual element to your blogs to earn full credit on the rubric. Remember, do not attach a files. Type and insert media directly into the textbox.

In: Nursing

Learning Outcome: please long answer and no hand writing 3. Describe the impact of diversity and...

Learning Outcome: please long answer and no hand writing

3. Describe the impact of diversity and the changing workforce on organizations and organizational performance.

4. Examine the role of HR as a strategic partner in an organization

Assignment Workload:

This assignment is an individual assignment.

The word count for this assignment must be between 800 to 1000 words

Case Study

B.R Investments is a reputed finance company having 15 branches in different part of the country. In the home office there are more than 200 employees. This company has a performance rating under which the employees are rated at six months intervals by a committee of two executives. Graphic scales have been used as means of appraisal. The qualities considered are responsibility, initiative, and interest in work, leadership potential, co-operative attitude and community activity. After the performance is evaluated, the ratings are discussed with the concerned employees by their immediate boss who counsels them. The ratings aroused to influence promotions and salary adjustments the employees and also as a criterion for assigning further rating for them.

Recently three employees of the company called on the company’s president to express their dissatisfaction with the ratings they had received. Their scores and composite ratings had been discussed with them. Because their ratings were comparatively low, they had been denied annual increments in salary. Approximately, two thirds of all the employees received such increments. The aggrieved employees argued that their ratings did not accurately represent their qualifications or performance. They insisted that “community activity” was not actually a part of their job and that what they do off the job is none of the company’s business. They expressed their opinion that employees should organize union and insist that salary increase be automatic.

The threat of a union caused concern to the officers of the company. This particular experience convinced the top officers that ratings may represent a serious hazard to satisfactory relationship with employees. Even the chief executive finds that performance appraisal is a dangerous source of friction and its hazards outweigh its values; so it should be discontinued altogether.

Questions:

1. How far do you agree with the management that performance appraisal should be discontinued?

2. If you were the HR manager, how would you tackle the situation?

3. What modifications would you suggest in the performance appraisal system of the company?

In: Economics

Read the information below and then complete the 2018 Schedule A. John and Julia are married...

Read the information below and then complete the 2018 Schedule A.

John and Julia are married and have two children. John works as a graphic designer for a design firm and Julia is a massage therapist. They own a vacation home in Colorado that is used 30% for personal purposes (assume it is used 70% as a rental property and the income and expenses related to the rental have been accounted). During the year they receive $600 in reimbursements from their medical plan and report $5,500 of investment income (included in AGI). They contributed stock, with a fair market value of $3,000, which they acquired in 2005 at a cost of $1,700 to Ohlone College. Their gambling winnings for the year were $1,000 and are included in their adjusted gross income. Their adjusted gross income for the year is $98,000 and they provide you with the following data:

Automobile insurance $ 1,450 / Homeowners insurance 625

Life insurance 1,000 / Disability insurance 375

Health insurance premiums (paid on an after tax basis) 1,600

Country club dues 1,800 / Health club dues 750

Hospital 5,000 / Doctor 1,275

Massage Therapists (they pay to receive messages, not related to Julia’s job) 700

Dentists 3,750 / Prescription drugs 275

Over-the-counter drugs 460 / State taxes withheld 8,475

Property taxes (ad valorem) 400 / Investment interest 1,600

Mortgage interest (primary residence) 6,850

Real estate taxes (primary residence) 2,240

Mortgage interest (vacation residence - unallocated) 2,700

Real estate taxes (vacation residence - unallocated) 1,350

Charitable contributions (cash; they have receipts) 7,750

Charitable contribution (clothes at FMV) 100

Subscriptions to investment journals 175

Dues to professional organizations 375

Tax prep fees 600 / Investment advice 525

Parking at work 190 / Safe-deposit box 75

Gambling losses 650

Unreimbursed employee business expenses (the full amounts paid and unreimbursed):

Airfare 500 / Lodging 450

Meals 290 / Entertainment 280

Incidentals 250

1. How many personal and dependency exemptions will they receive?

2. The box by 5a should be checked. T F

3. The box by 8a should be checked. T F

4. The box on line 18 should be checked. T F

In: Accounting

Correct the following sentences – we are only practicing when and when not to use a...

Correct the following sentences – we are only practicing when and when not to use a colon.

For the following sentences, DO NOT add or remove words or rearrange the sentences.

You should ONLY correct punctuation. You may have to add or remove colons. Sometimes a comma should be replaced with a colon or a colon should be replaced with a comma. It is also possible that you will end-up with a sentence that has neither comma nor colon.

  1. On the camping trip, Jaylah brought: a tent, a knife, and a bundle of wood.

  1. In the class, she learned three things how to build a network, how to apply for jobs, and how to cross her fingers.

  1. I understand that you want to advance in your career, but you must remember something, not all promotions are good.

  1. There are many different types of glue, including: Elmer’s, wood, gorilla, and airplane glue.

  1. My dog has given me the two things I needed most in life companionship and loyalty.

  1. Remember the old saying the last one to the bottom is a rotten egg.

  1. Settling into her new career in the giant mouse costume, Julia developed an affinity for: cheese, cheap trinkets, and – above all – deodorant.

  1. Both of the applicants were equally qualified, Mac was a consultant and Dee was a mediator.

  1. We learn to write the same way we learn to speak imitation and practice.

  1. Imitation requires material to imitate, and there is only one way to get that material, reading.

  1. When you are trying to improve your professional writing, you can read various publications: such as the Wall Street Journal, Accounting Today, and the Journal of Accountancy.

  1. If that’s not your cup of tea, however, you will be pleased to know that your writing will improve just as much if you indulge in other genres, such as: drama, fiction, and poetry.

  1. The best-sellers list, science fiction, and even graphic novels, all have the ability to: develop your vocabulary, creativity, empathy, and critical thinking skills.

  1. Many studies have confirmed: the vital role reading plays in expanding our ability to understand and even change the world.

  1. The abolitionist Henry Ward Beecher said it best “A house without books is like a room without windows.”

In: Accounting

1.Brian is putting together a balance worksheet and just finished entering the balances of the general...

1.Brian is putting together a balance worksheet and just finished entering the balances of the general ledger accounts into the trial balance section of the worksheet.

After making sure that the trial balance is accurate, Brian will prepare the __________ section, followed by the __________ section of the worksheet.

a.)income statement; balance sheet

b.)balance sheet; closing entries

c.)adjusting entries; adjusted trial balance

d.)adjusted trial balance; income statement

2 Which of the following statements is NOT a characteristic of a trial balance?

a.)All account totals are summarized.

b.)The report is made public.

c.)Posting errors are identified.

d.)Debit totals and credit totals are compared.

3 Which scenario below correctly describes an unearned revenue adjustment entry?

a.)Brian accounted for the printer ink cartridges that he used during the month for his various orders.

b.)Brian made the next adjustment and recorded $2,975 to be paid to graphic artist contractors at the end of the month, when paychecks were sent out.

c.)Brian was halfway through a project that involved creating and printing advertisement posters for a local hardware store. He would not be paid until the project was complete.

d.)Brian was recently hired to create and print brochures and business cards for the customer's new landscaping company. Brian was given a down payment for his work, but had not yet begun work

4 Sharon would make an adjustment entry to __________ to record the $500 her company received from a customer to perform future services.

Suppose that before the adjusting entry, the balance in this account was $2,725. After the adjusting entry, the ending balance will be __________.

a.)accounts receivable; $2,225

b.)prepaid expenses; $2,225

c.)unearned revenue; $3,225

d.)accrued revenue; $3,225

5 In the general journal, Amy saw a record in the owner's drawing account indicating that a partner withdrew $675 from her firm last month.

Which of the following is a closing general journal entry that Amy will make related to this withdrawal?

a.)Amy will not make a closing general journal entry related to this withdrawal.

b.)Amy will record a credit of $675 to the cash account.

c.)Amy will record a debit of $675 to the owner's capital account.

d.)Amy will record a credit of $675 to accounts payable.

In: Accounting

Assignment Write a program using turtle graphics which writes your initials, or any other three unique...

Assignment

Write a program using turtle graphics which writes your initials, or any other three unique letters, to the display. Look to your program for lab 1 for reminders of how to use turtle graphics.

Functions that must be written:

def drawLetter (x, y, letterColor): Write three functions, one for three unique letters. Personally, I would write drawA, drawR, and drawS. Each function must draw that letter to the screen. The x and y values determine the upper left-hand location for the start of the letter. Ensure that each letter takes the same amount of space, both vertically and horizontally. The letterColor parameter will be a string used to determine the color of the letter – use it to set the fillcolor, and maybe pencolor. You can also set pencolor to “black” to create an outline of the letter. In the Turtle Graphics Resources link in blackboard I have a link to valid turttle graphic colors.

Each function can have one, and only one, goto command. If drawing a letter which requires two “shapes,” such as a “O” with a two circles you can use a second goto. The initial goto should position the turtle in the upper left-hand location of the letter to be drawn. It might be smart to ensure that you know what direction the turtle is pointing before starting to draw the letter. All of the actual drawing must be done with basic movements, such as forward, backward, left, or right. Remember to use penup and pendown to ensure you only draw the desired lines.

def drawShadowedLetter (x, y, letterColor, offset): Write three more functions, one for each letter (mine would be drawshadowedT, drawShadowedL, and drawShadowedS). These functions will use your drawLetter functions, once using letterColor, and once adding offset to the x and y values and using “black” as the color. This will create a “shadowed” letter. These three functions will not be doing any actual drawing, all of the graphics work will be done in the drawLetter functions.

In the main program, draw your initials to the screen twice. The first time write your initials to the screen using the drawLetter functions. Somewhere else on the display, write your initials to the screen using the drawShadowedLetter functions.

In: Computer Science