-
有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?
1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列...
有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?
1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去
掉不满足条件的排列。
:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高
于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可可提
成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时高于
40万元的部分,可提成3%;60万到100万之间时,高于60万元的部分,可提成1.5%,高于
100万元时,超过100万元的部分按1%提成,从键盘输入当月利润I,求应发放奖金总数?
1.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。 输入某年某月某日,判断这一天是这一年的第几天?
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。
-err
- 2022-03-18 00:02:52下载
- 积分:1
-
these procedures is studying computer graphics, write some small programs and sh...
这些程序是我在学习计算机图形学时,写的一些小程序,应该会对一些人有用处,请诸位高人多多指教!-these procedures is studying computer graphics, write some small programs and should have some useful, I invite you to a person exhibitions!
- 2022-02-07 05:54:24下载
- 积分:1
-
Windows socket编程的客户端实现。
Windows socket编程的客户端实现。-Windows socket programming, client-side implementation.
- 2023-07-07 12:45:03下载
- 积分:1
-
时滞程序
时滞程序
- 2022-03-04 11:35:35下载
- 积分:1
-
Android实现自动、手动更新应用
代码简单、易懂、实用。
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.DialogInterface.OnClickListener;
import android.content.pm.PackageManager.NameNotFoundException;
import android.net.Uri;
import android.os.Environment;
import android.os.Handler;
import android.os.Message;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.Toast;
/**
*@author coolszy
*@date 2012-4-26
*@blog http://blog.92coding.com
*/
public class UpdateManager
{
/
- 2022-03-30 02:32:04下载
- 积分:1
-
windows api开发详解 光盘
《windows api 开发详解》一书中的代码。《windows api 开发详解》是一本很不错的快速上手windows API的书籍,里面有很多代码段可以拿来借鉴。对初学者来说相当的不错,是初学者的良师益友。大力推荐啊。
- 2022-03-20 00:57:52下载
- 积分:1
-
数据结构中实现栈空间共享的小程序.先用户分配一个空间.再分为几个栈.尽量平分每个栈的空间,但是各个栈的空间是可以变化的,由用户的需要而定.用户可任意选择输入栈的...
数据结构中实现栈空间共享的小程序.先用户分配一个空间.再分为几个栈.尽量平分每个栈的空间,但是各个栈的空间是可以变化的,由用户的需要而定.用户可任意选择输入栈的顺序,如先选择第1栈,输入元素,再输第0栈,再输入第2栈,以后也可以再在原先的栈内添加或删除元素.若pop,留下的空间归原栈所有,以后添加元素的时候可以用来左右移动栈,元素在整个空间的开始装入的顺序是先分别在各个栈的bot处装.-data structure to achieve the shared stack space small programs. First distribution of a user space. Again divided into several stacks. Equally as each stack space, but all stack space can change from the user"s needs. Users can freely select input stack in the order, if we choose a stack, the importation of elements and transported 0 stack, the first re-entry two stack, could again after the original stack within add or delete elements. if pop, leaving the space under the original stack all, after adding the element of time can be used to stack and move around, the elements in the entire space to the beginning of the loading sequence is first in the various bot Department stack installed.
- 2022-03-16 07:30:51下载
- 积分:1
-
Summary of time
简易的时间锁。
通过循环置顶实现锁定,默认密码在代码中。
初次运行请小心。-Summary of time-lock. Top realize through the cycle of lock, the default password in the code. Please be careful initial run.
- 2022-08-03 05:43:37下载
- 积分:1
-
牛顿插值, 多样牛顿迭代
牛顿插值, 多样牛顿迭代-Newton interpolation, a variety Newton
- 2023-01-03 11:40:03下载
- 积分:1
-
计算器程序You can use Hutch s INCLUDE and LIB files to assemble the program with the...
计算器程序You can use Hutch s INCLUDE and LIB files to assemble the program with the exception of the Windows.inc.
If you use the EWCalc.mak file you will have to change the pointers to the proper directories.-Calculator program You can use Hutch s INCLUDE and LIB files to assemble the program with the exception of the Windows.inc.If you use the EWCalc.mak file you will have to change the pointers to the proper directories.
- 2022-01-27 21:39:17下载
- 积分:1