• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
0

java double if

If(w1 == 10) p1 = w2*15 If(w1 > 10 && w1 <= 20) p1 = w2*5 Why i cant run when i press 15 it will become 225?

java
6th Jul 2017, 4:32 AM
Tee Yuan Xin
Tee Yuan Xin - avatar
1 Réponse

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Python Developer
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
Wayss
0 Votes
generic programming understanding memory ownership
0 Votes
Question
0 Votes
fully dynamic arrays
1 Votes
I dont now that how to do js
2 Votes
Guys who tell me
0 Votes
Can someone help with teaching me this coding of a thing
0 Votes