English, asked by husanpreetsingh667, 1 month ago

why do you think the fairies were able to ask the household equipment to do what they wanted? why were the fairies unsuccessful?​

Answers

Answered by awmbro82
1

Answer:

System.out.println("Net Pay = " + np);

}

}

[31/07, 1:18 PM] bksaxena982: Call me

[31/07, 1:18 PM] bksaxena982: Pe

[31/07, 1:34 PM] Ishant: import java.util.Scanner;

public class Time_period

{

public static void main(String[] args) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Length: ");

double l = in.nextDouble();

System.out.print("Enter Gravity: ");

double g = in.nextDouble();

double t = 2 * 3.14159 * Math.sqrt(l / g);

System.out.println("Time Period = " + t);

in.close();

}

}

[31/07, 2:15 PM] Ishant: import java.util.Scanner;

public class Interest

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter sum of money: ");

double p = in.nextDouble();

double interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the first year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the second year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the third d = " + interested[31/07, 1:15 PM] bksaxena982: import java.util.Scanner;

public class Employee

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Basic Pay: ");

double bp = in.nextDouble();

double da = 0.3 * bp;

double hra = 0.15 * bp;

double pf = 0.125 * bp;

double gp = bp + da + hra;

double np = gp - pf;

System.out.println("Gross Pay = " + gp);

System.out.println("Net Pay = " + np);

}

}

[31/07, 1:18 PM] bksaxena982: Call me

[31/07, 1:18 PM] bksaxena982: Pe

[31/07, 1:34 PM] Ishant: import java.util.Scanner;

public class Time_period

{

public static void main(String[] args) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Length: ");

double l = in.nextDouble();

System.out.print("Enter Gravity: ");

double g = in.nextDouble();

double t = 2 * 3.14159 * Math.sqrt(l / g);

System.out.println("Time Period = " + t);

in.close();

}

}

[31/07, 2:15 PM] Ishant: import java.util.Scanner;

public class Interest

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter sum of money: ");

double p = in.nextDouble();

double interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the first year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the second year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the thi

Explanation:

System.out.println("Net Pay = " + np);

}

}

[31/07, 1:18 PM] bksaxena982: Call me

[31/07, 1:18 PM] bksaxena982: Pe

[31/07, 1:34 PM] Ishant: import java.util.Scanner;

public class Time_period

{

public static void main(String[] args) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Length: ");

double l = in.nextDouble();

System.out.print("Enter Gravity: ");

double g = in.nextDouble();

double t = 2 * 3.14159 * Math.sqrt(l / g);

System.out.println("Time Period = " + t);

in.close();

}

}

[31/07, 2:15 PM] Ishant: import java.util.Scanner;

public class Interest

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter sum of money: ");

double p = in.nextDouble();

double interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the first year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the second year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the third d = " + interested[31/07, 1:15 PM] bksaxena982: import java.util.Scanner;

public class Employee

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Basic Pay: ");

double bp = in.nextDouble();

double da = 0.3 * bp;

double hra = 0.15 * bp;

double pf = 0.125 * bp;

double gp = bp + da + hra;

double np = gp - pf;

System.out.println("Gross Pay = " + gp);

System.out.println("Net Pay = " + np);

}

}

[31/07, 1:18 PM] bksaxena982: Call me

[31/07, 1:18 PM] bksaxena982: Pe

[31/07, 1:34 PM] Ishant: import java.util.Scanner;

public class Time_period

{

public static void main(String[] args) {

Scanner in = new Scanner(System.in);

System.out.print("Enter Length: ");

double l = in.nextDouble();

System.out.print("Enter Gravity: ");

double g = in.nextDouble();

double t = 2 * 3.14159 * Math.sqrt(l / g);

System.out.println("Time Period = " + t);

in.close();

}

}

[31/07, 2:15 PM] Ishant: import java.util.Scanner;

public class Interest

{

public static void main(String args[]) {

Scanner in = new Scanner(System.in);

System.out.print("Enter sum of money: ");

double p = in.nextDouble();

double interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the first year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the second year = " + interest);

p += interest;

interest = p * 5 * 1 / 100.0;

System.out.println("Interest for the thi

Similar questions