Question

(Assembly Language). A student uses the summer vacation to work in a courier company. The company...

(Assembly Language). A student uses the summer vacation to work in a courier company. The company pays a basic salary plus piece rate, and intern students are paid for the settlement cycle. The salary calculation method is: intern students work 6 days a week, every day. The basic salary is 220 yuan, and the basic requirement is to send 100 pieces by express delivery every day. If more than 100 pieces, each piece will account for an 1.5 yuan increase. If there are less than 100 items per day, 1.2 yuan will be deducted for each missing item. According to a classmate's delivery volume on each day of a week ( such as 102, 176, 147, 89, 138, 72) program to calculate the weekly of the intern student.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

import java.util.*;

public class WeeklyInternStudent{

public static void main(String args[]){

int basicsalary=220;

int pieces;

int workdays;

Scanner in=new Scanner(System.in);

//read pieces

pieces=in.nextInt();

//read workdays

workdays=in.nextInt();

if(pieces>600 && workdays==6 ){

basicsalary= basicsalary+basicsalary*1.5;

}

else if(pieces<600 && workdays==6 && ){

basicsalary= basicsalary-basicsalary*1.2;

}

else{

basicsalary=220;

}

System.out.println("Weekly of the intern student is:"+basicsalary);

}

}

Add a comment
Know the answer?
Add Answer to:
(Assembly Language). A student uses the summer vacation to work in a courier company. The company...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I AM COMPLETELY CONFUSED! Any help would be greatly appreciated. Chairvana’s Table Assembly Operations: Chairvana Inc....

    I AM COMPLETELY CONFUSED! Any help would be greatly appreciated. Chairvana’s Table Assembly Operations: Chairvana Inc. manufactures metal tables and chairs at its plant in Paxton, Illinois. Recently hired general manager, Bob Behar, is concerned about the large inventories and manufacturing inefficiencies in the plant. The Paxton plant has two separate assembly lines – one for chairs and one for tables. Demand for chairs is significantly larger than tables, so Bob decides to tackle the table assembly process for first....

  • please answer question #4 The Stratton Township Park The Stratton Township Park is located on a...

    please answer question #4 The Stratton Township Park The Stratton Township Park is located on a piece of property that contains two golf courses, a swimming pool, and 800 acres of woods and open spaces. Three years ago, the Stratton Parks Department (Stratton) carved out miles of trails to allow visitors to hike the property and enjoy nature. To make that experience more enjoyable for visitors and available to school groups, Stratton decided to offer guided tours that have proven...

  • The starting salary of $60,000 per year is more than she ever imagined. However, after receiving...

    The starting salary of $60,000 per year is more than she ever imagined. However, after receiving her first paycheck and seeing that about 20% was taken out for taxes and 7.65% for social security and Medicare, and $100 a month for medical and other benefits,  she was only going to bring home $42,000 a year.  That was a big shock.    Dream vacations: Can she travel and do the fun things that young professionals do? Throughout college, Kate worked every summer to finance...

  • please answer #2 The Stratton Township Park The Stratton Township Park is located on a piece...

    please answer #2 The Stratton Township Park The Stratton Township Park is located on a piece of property that contains two golf courses, a swimming pool, and 800 acres of woods and open spaces. Three years ago, the Stratton Parks Department (Stratton) carved out miles of trails to allow visitors to hike the property and enjoy nature. To make that experience more enjoyable for visitors and available to school groups, Stratton decided to offer guided tours that have proven popular....

  • please answer #5 The Stratton Township Park The Stratton Township Park is located on a piece...

    please answer #5 The Stratton Township Park The Stratton Township Park is located on a piece of property that contains two golf courses, a swimming pool, and 800 acres of woods and open spaces. Three years ago, the Stratton Parks Department (Stratton) carved out miles of trails to allow visitors to hike the property and enjoy nature. To make that experience more enjoyable for visitors and available to school groups, Stratton decided to offer guided tours that have proven popular....

  • Budgeting for an Academic Department at a State University: Can You Believe the Numbers? INTRODUCTION You...

    Budgeting for an Academic Department at a State University: Can You Believe the Numbers? INTRODUCTION You are the senior accounting faculty member in the business school and your dean, Dean Weller, is asking for help. She is very discouraged after a midyear budget meeting with the Vice President of Finance. The college's Department of Social Work has a large budget deficit, and because of this the VP is inclined towards closing the department entirely or closing its bachelor's program. The...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

  • Founded in 2006 by Blake Mycoskie, TOMS Shoes was an American footwear company based in Santa...

    Founded in 2006 by Blake Mycoskie, TOMS Shoes was an American footwear company based in Santa Monica, California. Although TOMS Shoes was a for-profit business, its mission was more like that of a not-for-profit organization. The firm’s reason for existence was to donate to children in need one new pair of shoes for every pair of shoes sold. Blake Mycoskie referred to it as the company’s “One for One” business model. While vacationing in Argentina during 2006, Mycoskie befriended children...

  • Should World Kitchen outsource Pyrex production and close the Charleroi plant? If so, how many suppliers should the company employ and where should they be located? We were una...

    Should World Kitchen outsource Pyrex production and close the Charleroi plant? If so, how many suppliers should the company employ and where should they be located? We were unable to transcribe this imagedishwas resulted from a process that pressed together yers of thin, strengthened opaque glass. products if they were moved overseas and simply source the lower-cost private-label versions directly sales and marketing functions. THE MARKET Givsn its extensive experience with outsourcing the Giobal Sourcing Department at World Kitchen had...

  • Fraud at Berry, CPA’s BERRY, CERTIFIED PUBLIC ACCOUNTANTS Brief History of the Firm In 1999, John...

    Fraud at Berry, CPA’s BERRY, CERTIFIED PUBLIC ACCOUNTANTS Brief History of the Firm In 1999, John Berry graduated from college with an accounting degree. After 10 years at an international accounting firm, John decided to start his firm, Berry, CPA’s. The firm, located in Oakwood, caters to local clients; specifically, John and his staff of four professionals specialize in non-public companies. The majority of the services provided by Berry, CPA’s are tax planning and preparation; however, the firm also performs...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT