13.04.2021

I need the answers for this assignment for my online class and I can’t fail

. 4

Faq

Spanish
Step-by-step answer
P Answered by PhD

Lo primero que hago es despertarme a las 6 en punto de la mañana. En segundo lugar, uso el baño y la ducha para despertarme del todo. Tercero, me cepillo los dientes y me cepillo el pelo. Cuarto, me preparo el desayuno y bebo mucha agua, generalmente consiste en un tazón de cereal o dos waffles. Quinto, voy al piso de arriba para asistir a mis clases en línea. Mis clases comienzan a las 8:30 a.m. para mí. Durante los fines de semana, me despierto a las 6 en punto o habitualmente me quedo despierta toda la noche para completar mis tareas para la próxima semana. Me gusta trabajar por adelantado en mis tareas, organizar y planificar mi horario para el día. Hace las cosas menos complicadas para mí. Sin embargo, los sábados prefiero centrarme en mejorar en mis pasatiempos favoritos. Dibujar, leer y escribir son mis actividades favoritas que más disfruto durante el día. También disfruto viendo películas de horror, películas psicológicas con suspense, juego videojuegos y veo mi programa de televisión favorito, Dance Moms. Después de eso, tengo que hacer tareas domésticas como lavar los platos. A continuación, debo asegurarme de que no tengo ninguna tarea pendiente o atrasada de la última semana o la semana anterior. A veces investigo o profundizo más sobre un tema que me interesa, especialmente en otros idiomas. Me encanta aprender sobre otras culturas, herencia y siglos de vida porque me fascina cómo el mundo se ha desarrollado y ha llegado a ser como lo vemos hoy.



English
Step-by-step answer
P Answered by PhD

college athletes should not get paid to play because its an extra-curricular activity, like marching band.

Ответ

Wikipedia might not be your best option because the information can come from anyone.

Ответ

this sentence is a run on. it should be, the truck driver backed his vehicle between two building. the truck driver did not have an inch to spare.

Ответ

Chicago is not a state, the capital of illinois would be springfield.

English
Step-by-step answer
P Answered by PhD

college athletes should not get paid to play because its an extra-curricular activity, like marching band.

Ответ

Wikipedia might not be your best option because the information can come from anyone.

Ответ

this sentence is a run on. it should be, the truck driver backed his vehicle between two building. the truck driver did not have an inch to spare.

Ответ

Chicago is not a state, the capital of illinois would be springfield.

Computers and Technology
Step-by-step answer
P Answered by Master

import java.util.Scanner;

public class CalculatingSales {

  public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);

      int product, quantity;

      double total = 0;

      while(true) {

          System.out.println("Enter product_id and quantity(0 0 to stop): ");

          product = sc.nextInt();

          quantity = sc.nextInt();

          if(product==0 && quantity == 0)  

              break;

          switch (product) {

          case 1:

              total = total + 2.98*quantity;

              break;

          case 2:

              total = total + 4.50*quantity;

              break;

          case 3:

              total = total + 9.98*quantity;

              break;

          case 4:

              total = total + 4.49*quantity;

              break;

          case 5:

              total = total + 6.87*quantity;

              break;

          default:

              System.out.println("Invalid option");

          }

      }

      System.out.println("total value: "+total);

      sc.close();

  }

}

Explanation:

Take the product and quantity as input from user.Use a switch statement to multiply the total with their relevant value.  Display the total value.
Computers and Technology
Step-by-step answer
P Answered by Specialist

import java.util.Scanner;

public class CalculatingSales {

  public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);

      int product, quantity;

      double total = 0;

      while(true) {

          System.out.println("Enter product_id and quantity(0 0 to stop): ");

          product = sc.nextInt();

          quantity = sc.nextInt();

          if(product==0 && quantity == 0)  

              break;

          switch (product) {

          case 1:

              total = total + 2.98*quantity;

              break;

          case 2:

              total = total + 4.50*quantity;

              break;

          case 3:

              total = total + 9.98*quantity;

              break;

          case 4:

              total = total + 4.49*quantity;

              break;

          case 5:

              total = total + 6.87*quantity;

              break;

          default:

              System.out.println("Invalid option");

          }

      }

      System.out.println("total value: "+total);

      sc.close();

  }

}

Explanation:

Take the product and quantity as input from user.Use a switch statement to multiply the total with their relevant value.  Display the total value.

Try asking the Studen AI a question.

It will provide an instant answer!

FREE