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
Anarel [89]
4 years ago
6

Design a module named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prom

pt the user to enter a number and then store the input in the reference parameter variable.
Computers and Technology
1 answer:
Sergeu [11.5K]4 years ago
5 0

Explanation:

Module getNumber (Integer Ref Value)

Display "Display a number"

Input number

End module

Module main ()

Declare Integer number x = 1

Declare Real number y = 2.5

Display( x, " " ,y)

Call changeUS (x,y)

Display( x, " " ,y)

End module

You might be interested in
In a database, data is stored in spreadsheets which have rows and columns.
Tcecarenko [31]
The answer is A. True.
5 0
3 years ago
What are the two common architectures used to process data
vitfil [10]
The two most common architectures used (by CPUs as I am assuming your question means) are x86 (32-bit) and x64 (64-bit).
32-bit processes multiple instructions with a single request while 64-bit adds registers for instructions that use 64-bit address space.
8 0
3 years ago
Which Windows Server 2008 R2 version has a smaller footprint, reduces the number of security vulnerabilities, and does not inclu
stira [4]

Answer:

Server core

Explanation:

Server core is miniature Microsoft Windows server installation option with limited features, that mimic the features of an actual core server, with little servicing and management requirement, disk and memory, and attack vulnerability.

5 0
3 years ago
What are the benefits and risks of a client-server network?
Tju [1.3M]

Answer:

Ermm... i don't really know but probably

the benefits can be: multi device connection and can be upgraded.

The disadvantages: The server is expensive i think, a special staff like  a network manager  is needed, and if any single part of the system fails a whole lot of disruption can come.

hope this helps!

8 0
3 years ago
Write an application for a lawn-mowing service. The lawn-mowing season lasts for 20 weeks. The weekly fee for mowing a lot less
jenyasd209 [6]

Answer:

// library

import java.util.*;

// class definition

class Main

{// main method of the class

public static void main (String[] args) throws java.lang.Exception

{

   try{

    // object to read inputs

      Scanner scr=new Scanner(System.in);

      System.out.print("Enter length of lawn:");

      // read the length of lawn

      int length=scr.nextInt();

      System.out.print("Enter width of lawn:");

      // read the width of lawn

      int width=scr.nextInt();

      // find area of lawn

      int area=length*width;

      //if area is less than 400

      if(area<400)

      {// Weekly mowing fee

          System.out.println("Weekly mowing fee is:$25");

          // seasonal fee

          System.out.println("20-week seasonal fee is:$"+(25*20));

      }

      // if area >=400 and area <600

      else if(area>=400 && area<600)

      {

         // Weekly mowing fee

          System.out.println("Weekly mowing fee is:$35");

          // seasonal fee

          System.out.println("20-week seasonal fee is:$"+(35*20));

      }

      // if area >=600

      else if(area>=600)

      {

         // Weekly mowing fee

          System.out.println("Weekly mowing fee is:$50");

          // seasonal fee

          System.out.println("20-week seasonal fee is:$"+(50*20));

      }

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read the length and width of lawn from user with the help of scanner object. Find the area of the lawn.If the area if less than 400 then Weekly mowing fee  is $25 and find the 20-week seasonal fee by multiply 25 with 20.If the area is greater than 400 and less than 600 then Weekly fee is $35 and seasonal fee  will be 35*20.if the area is greater than 600 then Weekly fee is $50 and seasonal fee will be 50*20.

Output:

Enter length of lawn:15                                                                                                    

Enter width of lawn:12                                                                                                    

Weekly mowing fee is:$25                                                                                                  

20-week seasonal fee is:$500

4 0
4 years ago
Other questions:
  • Jessica wants to purchase a new hard drive. She wants a drive that has fast access because she will use it to edit videos on her
    12·1 answer
  • PLEASE HELP
    12·2 answers
  • A(n) _____ chart is drawn on the same worksheet as the data.
    12·1 answer
  • Match the items with their respective descriptions. denotes row numbers denotes cell addresses denotes worksheets denotes column
    10·1 answer
  • Is something wrong with Brainly?
    5·2 answers
  • Audio tools support reading fluency by
    6·2 answers
  • One shortcoming of rapid application development (RAD) is _____.
    9·1 answer
  • How much do high-end earners make as power plant operators? Type answer as numerical number.
    14·1 answer
  • Write a program that reads a list of integers into a vector, and outputs the two smallest integers in the list, in ascending ord
    5·1 answer
  • Write an algorithm to multiply two numbers​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!