ھےwrite a program to display a menu list for calculating 18% GST of amount entered l and 20% discount of amount entered
Answers
Answered by
0
Answer:
what hours can you work ?
Answered by
0
Answer:
import java.io.*;
class GFG
{
static float Calculate_GST(float org_cost,
float N_price)
{
return (((N_price - org_cost) * 100)
/ org_cost);
}
public static void main (String[] args)
{
float org_cost = 100;
float N_price = 120;
System.out.print(" GST = " + Calculate_GST
(org_cost, N_price) + "%");
}
}
Explanation:
This code is for java since it was not specified as to which programming language I have put in a Java code. :)
Similar questions