Computer Science, asked by beraabhishek608, 4 months ago

Write a program in Java to calculate the amount after applying discount​

Answers

Answered by shakuntalagupta015
0

Answer:

java. util. Scanner;

class Discount. {

public static void main(String args[]) {

double dis,amount,markedprice,s;

Scanner sc=new Scanner(System. in);

System. out. println("enter markedprice ");

markedprice=sc. nextDouble();

System. out. println("enter discount percentage ");

Explanation:

please Mark me as Brainlist

Answered by sawanpoddar0
0

Explanation:

Complete coding for how to write a program in Java to calculate the amount after applying discount .

Attachments:
Similar questions