import java.util.Scanner;
class benifit{
int hi ,to,yr,ir;
void display()
{
System.out.println("These result :"+((to*yr*ir)/100));
}
}
public class Ex2 {
public static void main(String[] args) {
benifit hh = new benifit();
Scanner input = new Scanner(System.in);
System.out.println("Plz enter your required code");
hh.to = input.nextInt();
hh.yr = input.nextInt();
hh.ir = input.nextInt();
hh.display();
}
}
class benifit{
int hi ,to,yr,ir;
void display()
{
System.out.println("These result :"+((to*yr*ir)/100));
}
}
public class Ex2 {
public static void main(String[] args) {
benifit hh = new benifit();
Scanner input = new Scanner(System.in);
System.out.println("Plz enter your required code");
hh.to = input.nextInt();
hh.yr = input.nextInt();
hh.ir = input.nextInt();
hh.display();
}
}
No comments:
Post a Comment