Answer:
$20 per day for next 5 working days.
Explanation:
if 50% is $100.00 another $100 need to achieve in 5 days.
100/5=20
Answer is :
=D3+A3-B3
These Cell address contain following statement:
D3= Olivia saving account balance
A3= Olivia 3 month income
B3= Olivia 3 month expense
so, Expense are also deducted from income and income is added into saving balance.
In this situation we are use this formula:
=D3+A3-B3
Answer:
a.JavaScript
Explanation:
<em>Form validation</em> is adopted to prevent the abuse of web form by malicious users, data that are not properly validated causes or leads to security vulnerabilities, thereby making a website to be at a risk of being attacked by malicious users.
<em>Validation rules</em> checks that the data a user enters in a record meets the specify standards before the user is allowed to save the record, a validation rule evaluates the data in one or more fields and return it as true or false.
<em>JavaScript form validation can be used to check all required fields, the steps are adopted are:</em>
<em>i) Basic validation − The form is first checked to make sure that all the mandatory fields are filled.</em>
<em>ii) Data format validation −The data that is entered is then checked for correct form and value before allowing to proceed, submit or save the record.</em>
Answer:
// here is code in java.
import java.util.*;
// class definition
class Main
{
// method that return total fare
public static double fare(double dis)
{
// calculate the total fare
double tot_fare=(4+((dis*1000)/140)*0.25);
return the fare
return tot_fare;
}
//driver method
public static void main (String[] args) throws java.lang.Exception
{
try{
// scanner object to read input string
Scanner s=new Scanner(System.in);
// variable
double dis;
System.out.print("please enter the distance in KM: ");
//read the number
dis=s.nextDouble();
// call the function with "dis" parameter
double ride_fare=fare(dis);
// print the total fare
System.out.println("total fare is: "+ride_fare);
}catch(Exception ex){
return;}
}
}
Explanation:
Read the distance from user with the help of scanner class.Call the function with parameter "dis".Here it will calculate the total fare as (4+((dis*1000)/140)*0.25). Here base fare is $4 and $0.25 for every 140 meter.Then function will return the total fare.
Output:
please enter the distance in KM: 7
total fare is: 16.5
Answer:
A AND B= 1 or 0
1 1 1
0 1 0
1 0 0
0 0 0
So, as explained above if both are 1 we then only get 1, or else we get 0 always in case of AND which is a logical operator, whose output can be 0 or 1 only. This is being depicted above.
Explanation:
If both are 1 we get 1 or always else, we get the output =0.