求解决 来个会java的java大神博客

求会英文的java大神帮忙解决一道编程题_百度知道
求会英文的java大神帮忙解决一道编程题
41You are a full time worker: 35Please type your hours worked: 41Overtime hours. [TAs please advise the students not to use the Booleans operators && or ||.Hours worked. If you work &lt.H= 40 hours the program must write that you are a full time worker and print your hours worked AND If you work more than 40 hours the program must write that you are a full time worker and must write your hours worked and overtime hours: 34You are a part time workerHours worked: 36Please type your hours worked. This lab is designed to teach if statements and if – then – else statements]Sample run: 36You are a full time worker. If the hours worked &ltWrite a program that will ask a user for the total hours worked:Please ty= 35 hours the program must write that you are a part-time worker and print your hours worked
提问者采纳
1int time,将询问用户总工作时间;小时;+time+&quot。这个实验的目的是教if–else语句]运行示例:36请键入您的工作时间;+time+&quot.out;您的工作时间为。&+time-40+&您是全职工人。工作时间;else if(time&lt:41你是一个全职工人;):&quot。您的加班时间为;&if(time&您是兼职工人;小时;);=35) S您是全职工人。&).println(&quot。工作时间.println(&quot。如果工作时间≤35小时的节目要写上你是一个兼职工人和打印您的工作时间:36你是一个全职工人;小时,必须写下你的工作时间和加班时间:41加班时间;35) System,如果你的程序必须写你是全职人员:"您的工作时间为;else System.println(&quot.+time+&quot:34你是兼职的工人工作时间写一个程序;小时; = 40小时程序必须写你是全职人员和打印您的工作时间和工作时间:&quot:请键入您的工作时间;=40&&time&gt:&quot。如果你工作<您的工作时间为.out:35请键入您的工作时间;超过40小时。"或| |。【建议学生不要使用布尔运算符&amp
提问者评价
其他类似问题
为您推荐:
java的相关知识
其他1条回答
这就是写几个简单的if else哪里不懂。。。
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁类来实现这条规则,怎么写呢,求大神指点啊。
的abstract 、继承,来实现显示类的属性。
您的举报已经提交成功,我们将尽快处理,谢谢!
请查阅sun.net.ftp.FtpClient中的实现ftp连接管理类相关实现与方法文档。相关的内嵌包为jre6\lib\rt.jar。在两台Linux服务器...
其他联赛都是后三名直接降级,德甲是倒数第三与德乙第三打附加赛,后两名直接降级!
(window.slotbydup=window.slotbydup || []).push({
id: '2081942',
container: s,
size: '1000,60',
display: 'inlay-fix'

我要回帖

更多关于 java高并发解决方案 的文章

 

随机推荐