1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Natalija [7]
3 years ago
11

Karen wants to create a program that will allow the user to input their age. Which of these lines of code should be used?

Computers and Technology
1 answer:
Shalnov [3]3 years ago
7 0

Answer: age = input("What is your age?")

Explanation: Since this is the syntax for inputing a variable and storing it as age

You might be interested in
If the Update Automatically option is chosen in the Date and Time dialog box, _____. the date will automatically change each tim
Kisachek [45]
<span>I think its this,The user will be prompted to update the date each time they open the document</span>.
7 0
3 years ago
Write a program that reads an arbitrary number of integer that are in the range 0 - 50 inclusive and counts how many occurrences
Anna [14]

Answer:

Check the explanation

Explanation:

import java.util.Scanner;

public class Count

{

   public static void main(String[] args)

   {

       // creating array of store to store count of

       //every integer entered

       int[] store = new int[51];

       System.out.println("Enter any integers between"+

       " 0 and 50, and if you are done then enter any"+

       " integer out of the range");

       System.out.println("Enter Integer: ");

       //taking input of first integer

       Scanner scan = new Scanner(System.in);

       int integer = scan.nextInt();

       //looping for integers entered in range

       //to count its occurance

       while(integer >= 0 && integer <= 51)

       {

           //adding count to 'store' array of that

           //particular array of value entered

           store[integer] = store[integer] + 1;

           System.out.println("Enter Integer: ");

           integer = scan.nextInt();

       }

       //printing number of times each integer is entered

       System.out.println("printing number of times"+

           " each integer is entered");

       for (int i=0; i < 51; i++)

       {  

           if (store[i] > 0)

               System.out.println(i + ": " + store[i]);

       }

   }

}

Kindly check the result below

7 0
3 years ago
Which steps do you follow to create a graph?
dezoksy [38]

Answer:

the answer is D

Explanation:

8 0
3 years ago
Read 2 more answers
Who is your favorite smite god in Hi-Rez’s “Smite”
Andrei [34K]

Answer:

Variety

Explanation:

4 0
3 years ago
A museum is evaluating historical documents for authenticity, reviewing their physical condition, and categorizing them by subje
ZanzabumX [31]

Answer:

Option C

Explanation:

The museum authority can easily automate the process of storage of data on cloud once the document is prepared.

This shall help is easy access to data to all and will also prevent issues arising because of non storage of data or some form of mis-happening leading to data loss.

3 0
3 years ago
Other questions:
  • Assume there is a Mac and a HP computer each has an Intel microprocessor. Would an assembly program produced using the Mac compu
    13·1 answer
  • One of the biggest changes to affect the internet will be the continuing adoption of a new version of the internet protocol, ver
    5·1 answer
  • What is a collection of organized information that allows users to perform certain tasks such as searching for specific informat
    9·1 answer
  • Write a recursive method int power(int i, int j which determines teh result of i^j where j&gt;=0
    6·1 answer
  • True or false A job analysis weight the positives and negative of a given career
    13·1 answer
  • An actual printout of computer data always satisfies the best evidence rule?
    12·1 answer
  • Which of the following statements are true about the code shown below in the class named Quiz? (Select all that apply.)
    7·1 answer
  • Give the uses of Word’s mail merge.
    8·1 answer
  • What is 4x+2x(-3-3) thanku
    11·2 answers
  • Mention any
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!