A little experience
A little programming experience
Don't see higher,but can't do the lower.Maybe the centense is not correct,But i think the mean i want to express is clear.
If you can not do it easily,you can not think you can do it .This is the experience and the acknowladge.
The small question can explain the above:
Write a program,init variable n=5814,and use the division and mod (%) to print every number of n like this:
n=5814
The digits of n are 5,8,1,4
Although it is a small program,and the most basic question.But i can not do solve it though i learn the Java for a long time.
As the simple answer,write the solvation:
System.out.println("n=5814");
System.out.println(n/1000);
n%=1000;
System.out.println (n/100);
n%=100;
System.out.println(n/10);
n%10;
System.out.println(n);
--
Right or wrong decide by yourself, praise or blame listen to the others, gain or loss placid as usual, success or failure return to the zero.
Don't see higher,but can't do the lower.Maybe the centense is not correct,But i think the mean i want to express is clear.
If you can not do it easily,you can not think you can do it .This is the experience and the acknowladge.
The small question can explain the above:
Write a program,init variable n=5814,and use the division and mod (%) to print every number of n like this:
n=5814
The digits of n are 5,8,1,4
Although it is a small program,and the most basic question.But i can not do solve it though i learn the Java for a long time.
As the simple answer,write the solvation:
System.out.println("n=5814");
System.out.println(n/1000);
n%=1000;
System.out.println (n/100);
n%=100;
System.out.println(n/10);
n%10;
System.out.println(n);
--
Right or wrong decide by yourself, praise or blame listen to the others, gain or loss placid as usual, success or failure return to the zero.
0 Comments:
Post a Comment
<< Home