write a program in java to take input of a number and print the digit present in hundreds place
Answers
Answered by
1
the java program
class tax
{
public static void main (String args [ ])
{
double income, total pay;
final double, tax rate;
income=320000;
tax rate =2.2;
total pay income *tax rate /100;
System.out.println(''the amount he has to pay=''+total pay);
}
}
class tax
{
public static void main (String args [ ])
{
double income, total pay;
final double, tax rate;
income=320000;
tax rate =2.2;
total pay income *tax rate /100;
System.out.println(''the amount he has to pay=''+total pay);
}
}
osmajasmine1234:
hope this is in more than hundreds value
Similar questions