How are a members details be checked and verified when they return to log back in to the website ?

Answers

Answer 1

Answer:

When you sign into a website, you have to enter a password and username most of the time, which will allow the website to know that you have checked in and it is you, who is using your account.


Related Questions

Max magnitude Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the method in a program that takes two integer inputs, and outputs the largest magnitude value. Ex: If the inputs are: 5 7 the method returns: 7 Ex: If the inputs are: -8 -2 the method returns: -8 Note: The method does not just return the largest value, which for -8 -2 would be -2. Though not necessary, you may use the absolute-value built-in math method. Your program must define and call a method: public static int maxMagnitude(int userVal1, int userVal2)

Answers

Answer:

The java program is as follows.

import java.lang.*;

public class Numbers

{

   //variables to hold two numbers

   static int num1=-8, num2=-2;

   //method to return integer with higher magnitude

   public static int maxMagnitude(int userVal1, int userVal2)

   {

       if(Math.abs(userVal1) > Math.abs(userVal2))

           return userVal1;

       else    

           return userVal2;

   }

public static void main(String[] args) {

    int max = maxMagnitude(num1, num2);

 System.out.println("The number with higher magnitude among "+num1+ " and "+num2+ " is "+max);

}

}

OUTPUT

The number with higher magnitude among -8 and -2 is -8

Explanation:

1. Two integer variables are declared to hold the two numbers. The variables are declared at class level (outside main()) and declared static.

2. The variables are initialized with any random value.

3. The method, maxMagnitude(), takes the two integer parameters and returns the number with higher magnitude. Hence, return type of the method is int.

public static int maxMagnitude(int userVal1, int userVal2)

4. This method finds the number with higher magnitude using the Math.abs() method inside if-else statement.

               if(Math.abs(userVal1) > Math.abs(userVal2))

                   return userVal1;

        else    

                   return userVal2;

5. Inside main(), the method, maxMagnitude(), is called. This method takes the two variables as input parameters.

6. The integer returned by the method, maxMagnitude() is assigned to a local integer variable, max, as shown.

      int max = maxMagnitude(num1, num2);

7. The result is displayed to the user as shown.

System.out.println("The number with higher magnitude among "+num1+ " and "+num2+ " is "+max);

8. The class variables and the method, maxMagnitude(), are declared static so that they can be used and called inside main().

9. The variable, max, is called local variable since it can be used only within the main() where it is declared. It is not declared static.

10. The class is declared public since it has the main() method and execution begins with main().

11. The program is saved with the same name as the name of the public class having main(). In this case, the program is saved as Numbers.java.

12. No user input is taken for the two input parameter values. The static variables can be assigned any integer value and the program can be tested accordingly.

A small publishing company that you work for would like to develop a database that keeps track of the contracts that authors and publishers sign before starting a book. What fields do you anticipate needing for this database

Answers

Answer:

The database can include the fields related to the Author such as name and address, related to Publisher such as publisher's name and address, related to book such as title and ISBN of the book and related to contract such as payment schedule, contract start and end.

Explanation:

The following fields can be needed for this database:

Author First_NameAuthor's Last_NameAuthors_addressPublisher_namePublisher_addressBook_titleBook ISBNcontract date : this can be start_date (for starting of contract) and end_date ( when the contract ends) payment_made: for payment schedule.

Someone help me with this

Answers

Answer:

(b) public String doMath(int value){

return " " + (value * 3);

}

Explanation:

Two of the answers doesn't even have a variable to pass into. In order, to return a String the return " " in b will do this. Therefore, I think the answer is b.

Write a Python program that can compare the unit (perlb) cost of sugar sold in packages with different weights and prices. The program prompts the user to enter the weight and price of package 1, then does the same for package 2, and displays the results to indicate sugar in which package has a better price. It is assumed that the weight of all packages is measured in lb. The program should check to be sure that both the inputs of weight and price are both positive values.

Answers

Answer:

This program is written using python

It uses less comments (See explanation section for more explanation)

Also, see attachments for proper view of the source code

Program starts here

#Prompt user for price of package 1

price1 = int(input("Enter Price 1: "))

while(price1 <= 0):

     price1 = int(input("Enter Price 1: "))

#Prompt user for weight of package 1

weight1 = int(input("Enter Weight 1: "))

while(weight1 <= 0):

     weight1 = int(input("Enter Weight 1: "))

#Calculate Unit of Package 1

unit1 = float(price1/weight1)

print("Unit cost of Package 1: "+str(unit1))

#Prompt user for price of package 2

price2 = int(input("Enter Price 2: "))

while(price2 <= 0):

     price2 = int(input("Enter Price 2: "))

#Prompt user for weight of package 2

weight2 = int(input("Enter Weight 2: "))

while(weight2 <= 0):

     weight2 = int(input("Enter Weight 2: "))

#Calculate Unit of Package 2

unit2 = float(price2/weight2)

print("Unit cost of Package 2: "+str(unit2))

#Compare units

if unit1 > unit2:

     print("Package 1 has a better price")

elif unit1 == unit2:

     print("Both Packages have the same price")

else:

     print("Package 2 has a better price")

Explanation:

price1 = int(input("Enter Price 1: ")) -> This line prompts the user for price of package 1

The following while statement is executed until user inputs a value greater than 1 for price

while(price1 <= 0):

     price1 = int(input("Enter Price 1: "))

weight1 = int(input("Enter Weight 1: ")) -> This line prompts the user for weight of package 1

The following while statement is executed until user inputs a value greater than 1 for weight

while(weight1 <= 0):

     weight1 = int(input("Enter Weight 1: "))

unit1 = float(price1/weight1) -> This line calculates the unit cost (per weight) of package 1

print("Unit cost of Package 1: "+str(unit1)) -> The unit cost of package 1 is printed using this print statement

price2 = int(input("Enter Price 2: ")) -> This line prompts the user for price of package 2

The following while statement is executed until user inputs a value greater than 1 for price

while(price2 <= 0):

     price2 = int(input("Enter Price 2: "))

weight2 = int(input("Enter Weight 2: ")) -> This line prompts the user for weight of package 2

The following while statement is executed until user inputs a value greater than 1 for weight

while(weight2 <= 0):

     weight2 = int(input("Enter Weight 2: "))

unit2 = float(price2/weight) -> This line calculates the unit cost (per weight) of package 2

print("Unit cost of Package 2: "+str(unit2)) -> The unit cost of package 2 is printed using this print statement

The following if statements compares and prints which package has a better unit cost

If unit cost of package 1 is greater than that of package 2, then package 1 has a better priceIf unit cost of both packages are equal then they both have the same priceIf unit cost of package 2 is greater than that of package 1, then package 2 has a better price

if unit1 > unit2:

     print("Package 1 has a better price")

elif unit1 == unit2:

     print("Both Packages have the same price")

else:

     print("Package 2 has a better price")

You can add additional design elements to a picture by adding a color background, which is accomplished by using what Paint feature?
Pencil tool

Shapes tool

Color Picker tool

Fill with Color tool

Answers

Answer:

Fill with Color tool

Other Questions
Henry buys a candy bar worth $3.20 plus a chocolate bar worth $1.60. How much change does he have leftover from $8.50? EXPLAIN! In Common Sense, Thomas Paine strengthens his argument by __________. listing the ways Asia has failed and enraged America describing his early life in England flattering the king of England presenting counterarguments and showing why they are wrong Why it is good teaching what is Juneteenth to the students? In redox half-reactions, a more positive standard reduction potential means I. the oxidized form has a higher affinity for electrons. II. the oxidized form has a lower affinity for electrons. III. the reduced form has a higher affinity for electrons. IV. the greater the tendency for the oxidized form to accept electrons. How would a nature lover read the words untamed and wild? What about a person who does not love nature? Following is a partial process cost summary for Mitchell Manufacturing's Canning Department. Equivalent Units of Production Direct Materials Conversion Units Completed and transferred out 44,000 44,000 Units in Ending Work in Process: Direct Materials (9,000 * 100%) 9,000 Conversion (9,000 * 70%) 6,300 Equivalent Units of Production 53,000 50,300 Cost per Equivalent Unit Costs of beginning work in process $43,400 $63,700 Costs incurred this period 145,100 195,100 Total costs $188,500 $258,800 Cost per equivalent unit $3.56 per EUP $5.15 per EUP The total conversion costs transferred out of the Canning Department equals:_______.a. $156,640. b. $179,068. c. $188,500. furniture maker used 1/2 of a can of paint to paint some chairs. She used 1/6 of a can of paint for each chair. How many chairs did she paint? Dr. Parker finds that judgments of responsibility for an automobile accident is greater for male drivers if the outcome is severe than if it is mild. However, for female drivers, ratings are the same irrespective of the outcome. These findings suggest __________________. Solve for in the diagram below. In 1982, the United States government changed the way it minted pennies. Before 1982, pennies were made of 95% copper and 5% tin. Now they are made of 97.5% zinc coated with copper. Because they weigh different amounts (have different masses) and are still the same item, they make a good model for studying isotopes.4. What do the two kinds of pennies represent in this exercise?5. How do the pennies differ? How do isotopes differ?6. What do the pennies have in common? What do isotopes have in common? What roles do bones play in the human body? Explain. April has 4 levels to her independent variable. She has participants in her study complete part A, followed by B, C, and then D. When she analyzes her data, she notices that level D is always different from the rest of the levels. April is most likely encountering what effect? coruse hero psyc 255 Gary buys a 3 1/2 pound bag of dog food every 3 weeks. Gary feeds his dog the same amount of food each day. Which expression can Gary use to determine the number of pounds of dog food his dog eats each year? A piece of rope measuring 4m is cut into 8 equal lengths. How long will each piece be? 1The measure of Z1 = help if you can I'm struggling with this i only get half of it right how does Roosevelt's use of the big stick metaphor in the paragraph on pages 5-6 impact his speech Find the area of the circle This solar calendar is divided into two major periods - the time before and after ________ 2. What is the main responsibility of the House Ways and Means Committee?A taking care of the needs of the armed servicesB deciding which committees will consider certain billsOC considering relationships with foreign countriesOD deciding how to raise money for the federal government