嗨我是新编码 [英] Hi im new to coding

查看:80
本文介绍了嗨我是新编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要编写一个算法来打印员工的工资单

任何人都可以帮助我吗?

就像尝试解释它和东西一样



继承人我正在做的问题:

I need to write an algorithm to print an employee`s payslip
Anyone can help me?
like just try to explain it and stuff

heres the question im doing:

Employee Name:            John Doe
Month:                               October
Normal Rate:                         20.00
Overtime Rate:                     30.00

Normal Wage Details:
                       Hours Worked:  100                            Normal Wage:   2000

Overtime Wage Details: 
              Hours Worked: 15                                        Overtime Wage:  450


Total Wage:   2450




我尝试了什么:



i需要打印他的名字,月份,正常和加班费率以及正常必须由用户输入加班时间。



What I have tried:

i need to print his name, the month, normal and overtime rate and normal and overtime hours worked must be entered by the user.

推荐答案

打印第一行。

打印第二行。

继续这种方式,直到你打印完所有的行。



正如你昨天所说,我们不做你的作业。

从长远来看,你可能会发现自己更容易实际做到这一点 - 如果你不自己动手,你会在考试时间遇到真正的问题......
Print first line.
Print second line.
Continue in this vein until you have printed all the lines.

As you were told yesterday, we do not do your homework.
You would probably find it easier in the long run to actually do it yourself - ignoring that if you don't do it yourself, you're going to have real problems come exam time...


让我们假设您是一名9年级学生入学的第一年学生。



假设您距离第一学期不到6周。



让我们假设您在最后一分钟离开了所有内容,并认为编程很简单,您可以在转让前一天过夜学习是的。



我们假设你应该考虑一个不同的学习领域。



有您考虑过进入销售或降低管理层而不是延迟加载的开发人员吗?
Let us assume you are a 1st year student who started school in September.

Let us assume you are less than 6 weeks away from your first semester.

Let us assume that you left everything at the last minute and thought that programming is a cinch and you can learn it overnight the day before an assignment is due.

Let us assume that you should consider a different field of study.

Have you considered going into sales or lower management instead of being a delay loaded developer?


我们仍然不做您的HomeWork。

HomeWork未设置为测试您的乞求其他人做你的工作的技巧,它会让你思考并帮助你的老师检查你对所学课程的理解,以及你应用它们时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

所以,试一试,重读你的课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。
We still do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于嗨我是新编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆