sales = float(input("Enter monthly sales amount: $"))
commission = 0.05
if sales> 500000:
commission = 0.1
print("You earned: $"+str(sales*commission))
I wrote my code in python 3.8. I hope this helps.
Answer:
ayo fam
Explanation:
I dont think this is supposed to be here lol
Explanation:
"Select vendor_name as Vendor_Name,
default_account_number as Default_Account_No ,
account_description as Account_Description
From Vendors v, General_Ledger_Accounts ledger
where (add the join condition here)
Order by account_description, vendor_name"
Note: In the above statement, include the alias name appropriately and then execute the query
The "select statement" should contain the list of columns to be displayed
"From statement" should contain the name of the table from which data needs to be fetched.
"Where clause" defines the relationship as well the condition that needs to be executed
"Order by clause" defines the sorting mechanism with the relevant field
Answer:
The output of the given code as follows:
Output:
Area is: 12.60676
Explanation:
In the given code some information is missing so, the correct code to this question can be described as follows:
Program:
public class Test //defining class
{
public static void main(String[] args)//defining the main method
{
double radius= 2; //defining double variable radius
final double PI= 3.15169; //defining double variable PI
double area = radius * radius * PI; //defining double variable area that calculates values
System.out.println("Area is: " + area); //print values
}
}
Explanation:
- In the given java code a class "Test" is defined, in which a double variable "radius" is defined, which holds a value, that is 2.
- In the next step, a double constant variable, that is PI is defined, that holds a value, that is "3.15169".
- Then another double variable area is defined, that calculates the area value, and prints its value.
Answer:
ICANN
Explanation:
It handles the installation and processing of various databases related to network domains and provides a consistent and secure networking service and there are incorrect options are described as follows:
- IAB, which provides a protocol for managing IETF, is therefore incorrect.
- W3C is used in web development.
- ISOC is used to provide Internet access.