з'ясувати сутність поняття веб 2.0 виконати класифікацію сервісів що належить до Веб 2.0 та навести приклад сервісівиякі можна використовувати в навчанні
System.out.println("\nThe value of \"z\" is greater, then the equation, so here's the result: " + Math.pow(z, 2));
}
else if (z == fraction) {
System.out.println("\nThe values of both variables are equal, so here's the result: " + z);
}
else {
System.out.println("\nThe value of \"z\" is lees then the eqation, so here's the result: " + Math.sqrt(z));
}
}
}
Ответить на вопрос
Поделитесь своими знаниями, ответьте на вопрос:
з'ясувати сутність поняття веб 2.0 виконати класифікацію сервісів що належить до Веб 2.0 та навести приклад сервісівиякі можна використовувати в навчанні
Язык — Java
Очевидно, что я пишу не на том языке, на каком надо, ведь ты не отметил нужный.
Но если ты попросишь, может мне и будет хватать сил писать псевдокод :D
import java.util.Scanner;
public class Znanija {
public static void main(String args[]) {
double x, y, z;
double real, denominator, numerator, numerator1, fraction;
Scanner input = new Scanner(System.in);
System.out.println("Enter the value of \"x\": ");
x = input.nextInt();
System.out.println("\nEnter the value of \"y\": ");
y = input.nextInt();
System.out.println("Input the value of \"z\": ");
z = input.nextInt();
denominator = Math.pow(x+y, 6);
numerator = Math.pow((Math.pow((Math.sqrt(((x*x)+(y*y, 1.71)), 3);
numerator1 = numerator+(Math.pow(x+y, 2)+1);
fraction = denominator/numerator;
if (z > fraction) {
System.out.println("\nThe value of \"z\" is greater, then the equation, so here's the result: " + Math.pow(z, 2));
}
else if (z == fraction) {
System.out.println("\nThe values of both variables are equal, so here's the result: " + z);
}
else {
System.out.println("\nThe value of \"z\" is lees then the eqation, so here's the result: " + Math.sqrt(z));
}
}
}