Icon New game New game

Programa Descuentos Megapaca en Java

Fill in the Blanks

(27)
Este programa realiza una serie de descuentos a un producto según el color ingresado.

Download the paper version to play

Recommended age: 17 years old
46 times made

Created by

Guatemala

Top 10 results

  1. 1
    10. Wendy Gonzalez 5SB
    10. Wendy Gonzalez 5SB
    01:06
    time
    100
    score
  2. 2
    Maria Matheu 5b
    Maria Matheu 5b
    01:27
    time
    100
    score
  3. 3
    Mynor Rivas 5B
    Mynor Rivas 5B
    01:38
    time
    100
    score
  4. 4
    02:02
    time
    100
    score
  5. 5
    Jimena Equite
    Jimena Equite
    02:06
    time
    100
    score
  6. 6
    Diana López 5SB
    Diana López 5SB
    02:24
    time
    100
    score
  7. 7
    Kimberly López 5TOSB
    Kimberly López 5TOSB
    02:47
    time
    100
    score
  8. 8
    Sherlyn Alcántara 5B
    Sherlyn Alcántara 5B
    02:53
    time
    100
    score
  9. 9
    Evelin López :)
    Evelin López :)
    03:06
    time
    100
    score
  10. 10
    kimberly Chumil 5SB
    kimberly Chumil 5SB
    03:52
    time
    100
    score
Do you want to stay in the Top 10 of this game? to identify yourself.
Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

  1. time
    score
  1. time
    score
time
score
time
score
 
game-icon

Fill in the Blanks

Programa Descuentos Megapaca en JavaOnline version

Este programa realiza una serie de descuentos a un producto según el color ingresado.

by Isaías A. Cuá Dubón
1

java . util . Scanner ;
public class Megapaca {

public static void main ( String [ ] args ) {
Scanner datos = new Scanner ( System . in ) ;
String ;
String ;
double ;
double ;
double ;
System . out . println ( " Ingrese el nombre del producto " ) ;
= datos . ( ) ;
System . out . println ( " Ingrese el precio del producto " ) ;
= datos . ( ) ;
System . out . print ( " Rojo = Sin descuento Verde = 15% Gris = 30% Negro = 50% Azul = 60% Celeste = 70% Naranja = 90% " ) ;
System . out . println ( " Ingrese el color " ) ;
= datos . ( ) ;
( ) {
case " Rojo " : System . out . println ( " Este color no presenta descuento " ) ; ;
case " Verde " : System . out . println ( " El descuento calculado es de : " + ( = * 0 . 15 ) ) ;
= precio - descuento ;
System . out . println ( " El producto menos el descuento tiene un nuevo precio de : " + ) ; break ;

default : System . out . println ( " El color ingresado no está en la lista de descuentos " ) ; ;
}

}

}

educaplay suscripción