+ 35
application problem
i was quite ahead in the learning process but suddenly i get back to the html basics at table tabs ....why this happen....plzz help me solve out this problem
19 ответов
+ 63
Please send us an email via info@sololearn.com so we can help.
+ 20
happy to see your comments here for app improvement :
https://www.sololearn.com/Discuss/982445/?ref=app
thanks
+ 12
class AddItAll_Using_For_Loop_WhileLoop_And_DoWhile_Loop
{
public static void main(String[] args) {
int sum_of_all=0;
int till=100;
int j=0;
//For Loop
for(j=0;j<=till;j++)
{
sum_of_all+=j;
}
System.out.println("Using For Loop | Sum of all natural numbers till "+till+" is => "+sum_of_all+"\n");
//While Loop
while(j<=till)
{
sum_of_all+=j;
j++;
}
System.out.println("Using While Loop | Sum of all natural numbers till "+till+" is => "+sum_of_all+"\n");
//Do...While
do
{
sum_of_all+=j;
j++;
}while(j<=till);
System.out.println("Using Do...While Loop | Sum of all natural numbers till "+till+" is => "+sum_of_all+"\n");
//with all loops value will be same i did just for explanation of all loops.
}
}
why value increased in do while loop when running the program
+ 8
there is a problem with my sololearn app it pops up messages sating that people are up voting my posts but when I look at my posts I still only have zero likes what is wrong and how can I fix it
+ 5
Slowing
+ 5
I can not send a single lesson. I translated them all into Russian, and I want to share the translation. I wrote one text, and it lies in the drafts. What next with him to do?
+ 2
you need to edit your program because when I tried writing a program that wloud add 5 exp to my profile it did witch means that you dont use a block chain . I only added 5exp but how many other people cloud just add any number of exp they wanted or take away another users exp because we are all programmers after all
+ 1
Sololearn is awesome...
I need someone to challenge me in mysql
+ 1
Testing
+ 1
fyyrzji5r nutpuieewhv
0
sololearn nice play game programming the game top c# java
0
hay
0
Someone challenged me in Java and I answered only 2 questions and quit without continuing. Then I got a message that I lost the challenge and lost 32 xp. Why did this happen? At least I didnt face all the questions
0
Naice
0
A 0 80 na
0
I 3h pl na celu 4 4xr r po nac całym g 09 czy też znać to jest to p i podstawie umowy z s4 p 5 7r pn RR pn RR że w cm wzrostu c
https://code.sololearn.com/Wy1bdCQyCsdH/?ref=app
https://code.sololearn.com/cl0vEyVU8mxp/?ref=app
https://code.sololearn.com/cZ810u43iw47/?ref=app
https://code.sololearn.com/WmCDiZR6fklY/?ref=app
https://code.sololearn.com/W5leTzU3909L/?ref=app
https://code.sololearn.com/cYD6g50v4PM6/?ref=app
https://code.sololearn.com/cbY0pb8GFTCL/?ref=app
https://code.sololearn.com/cc75665tnRQ5/?ref=app
https://code.sololearn.com/crb23njUovVl/?ref=app
https://code.sololearn.com/cqJAlwE5QM0D/?ref=app
https://code.sololearn.com/c2G3JZonZRtg/?ref=app
https://code.sololearn.com/c3Momr80IFfi/?ref=app
https://code.sololearn.com/c5s0VUHZkUzC/?ref=app
https://code.sololearn.com/clyJd517zly8/?ref=app
https://code.sololearn.com/cxy7KOsMLfVQ/?ref=app
https://code.sololearn.com/WXtYMRrV79a4/?ref=app
https://code.sololearn.com/W1ZYti9a7HNj/?ref=app
https://code.sololearn.com/cMHCixn837kc/?ref=a
- 1
<html>
<head>
<title>
</title>
<body>
{Public static void main (String []args){
int sum-of-all=0;
int till=100;
int j=0;
//for Loop
for (j=0;j <=till;j++)
{
sum-of-all+=j;
}
System.out.println ("Using for Loop |sum of all natural numbers till "+till+" is=> "+sum-of-all+"\n");
//While Loop
while (j <=till)
{sum -of-all+=j;
j++;
}
System.out.println ("Using While Loop|sum of all natural numbers till "+till+"is=>
"sum -of-all+"\n");
//D...While
do {
Sum-of-all+=j;
j++;}
While(j <=till );
System.out.println ("Using
Do...While Loop | sum of all natural numbers till "+till +" is=>"+sum -of-all+"\n");
//With all loops value will be
Same is did just for exploration of loops
}
}
</body>
</head>
</html>
- 1
It was refresh because it was heated