Answer:
import java.util.Scanner;
public class Supermarket
{
public static void main (String[] args)
{
String item;
double pounds, ounces, price,
total, unit;
Scanner scn = new Scanner(System.in);
System.out.print("Please enter the name of item ");
item = scn.nextLine();
System.out.print("Please enter the price of " + "the item per pound : ");
price = scn.nextDouble();
System.out.print("Enter the weight of " + "the item in pounds and " + "ounces respectively : ");
pounds = scn.nextDouble();
ounces = scn.nextDouble();
unit = price/16;
total = price * (pounds + ounces/16);
System.out.print("The unit price of " + "the products sold is : " + unit);
System.out.print("\nThe total cost of the " + "amount purchased is : " + total);
}
}
Explanation:
- Ask the user to enter the price of the item and the weight.
- Calculate the unit and the total price.
- Display the unit and the total price.
Answer:
It is an example of a spreadsheet application
Answer:
cgjiiiiihi99ojb. huuuuuuu
Explanation:
gyu8ihg$ffg
A macro virus is a specific type of virus wherein it attaches to word processing documents like MS Word or MS Excel files. Furthermore, this virus would launch commands wherein it automatically starts certain programs that consume a lot of you computer memory. However, it could just be easily removed by an anti-malware tool.
Answer:
News: enables you to access newsgroups
http:// enables transfer of hypertext documents
ftp:// enables you to download from and upload to a remote computer
file:// loads a local file from your computer
mailto: loads the browser's e-mail screen to send an e-mail message