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
weeeeeb [17]
1 year ago
3

// This pseudocode is intended to describe

Computers and Technology
1 answer:
levacccp [35]1 year ago
6 0

Applying information of a computational language in pseudocode, a code may be written to describe computing the per day cost of your rent.

<h3>What is an algorithm?</h3>

An algorithm is a standard formula that consists of a set of finite steps and instructions that must be implemented by a software program in order to provide ways to resolve on a computer under appropriate conditions.

Writing the code:

<em>// This </em><em>pseudocode </em><em>is </em><em>intended </em><em>to desribe</em>

<em>// computing the price of an item on sale for 10% off</em>

<em>start</em>

<em>input origPrice</em>

<em>discount = price * 0.25</em>

<em>finalPrice = origPrice - discount</em>

<em>output finalPrice</em>

<em>stop</em>

<em>// This pseudocode is intended to </em><em>compute </em><em>the number</em>

<em>// of </em><em>miles per gallon </em><em>you get with your car.</em>

<em>start</em>

<em>input milesTraveled</em>

<em>input </em><em>gallonsOfGasUsed</em>

<em>milesPerGallon = milesTraveled / gallonsOfGasUsed</em>

<em>output milesPerGallon</em>

<em>stop</em>

<em>// This pseudocode is intended to compute the number</em>

<em>// computing the per dday </em><em>cost </em><em>of your rent</em>

<em>// in a 30-day month</em>

<em>start</em>

<em>input rent</em>

<em>costPerDay = rent / 31</em>

<em>output rent</em>

<em>stop</em>

Learn more about the pseudocode here :

brainly.com/question/13208346

#SPJ1

You might be interested in
Which new jobs will be in demand in the next 20 years
s2008m [1.1K]
The answer is Data Jobs, Data Analysis, Solution Architecture, Software Engineering and Product Managers, there is many more but there's just a few. Hope I helped! :)
3 0
3 years ago
In a case where electrical current leakage from the circuit occurs,
Zielflug [23.3K]

Answer:

The GFCI shuts down the circuit when it senses a current leakage.

Explanation:

The ground of a circuit should truly be ground. But if the ground circuit is not truly ground, then someone could get shocked. The GFCI monitors the possibility of current flow to ground. If this occurs, then the GFCI stops all flow of current, for safety reasons.

It also monitors if the current flow is interrupted. Say you drop something that is plugged in, into a sink of water. The GFCI should note the current loss, and shut down the circuit.

GFCI stands for: Ground-Fault Circuit Interrupter

4 0
3 years ago
Read 2 more answers
Scrie un program care citind varstele a 2 copii afiseaza care dintre ei este cel mai mare si cu cat. Exemplu: Pentru varstele 5
murzikaleks [220]

Answer:

primul_copil = int(input("Introduceți vârsta primului copil: "))

aldoilea_copil = int(input("Introduceți vârsta celui de-al doilea copil: "))

def copilmai_mare(varsta1, varsta2):

   if varsta1 > varsta2:

       diferenta = varsta1 - varsta2

       print("copilul mai mare este varsta1 cu diferența de vârstă de: ", diferenta )

   else:

       diferenta = varsta2 - varsta1

       print("copilul mai mare este varsta2 cu diferența de vârstă de: ", diferenta )

copilmai_mare(primul_copil, aldoilea_copil)

Explanation:

Programul python de mai sus definește o funcție "copilmai_mare" care ia două argumente "varsta1" și "varsta2". Diferența dintre vârstele copiilor este comparată, iar cel mai mare copil și diferența sunt tipărite pe ecran.

5 0
3 years ago
Some projectors use a connection technology called _______________ that enables long-range connectivity for uncompressed HD vide
Rzqust [24]

Answer:

HDbaseT

Explanation:

HDbaseT is  a global connectivity standard for transmitting uncompressed high definition videos, audios, power, usb, ethernet home networking and some control signals for up to 100 meters, over a category cable like Cat 5a or Cat 6 cables.

The projector uses the HDbaseT for these reasons and for the fact that it eliminates clusters in cables without affecting its performance or high quality. This gives a high quality output display from the projector.

5 0
3 years ago
. Constructors are executed when?
adoni [48]

Answer:

 The constructor are executed when the constructor object are comes in the existence as per the general rule in the computer programming language. The constructor is the special type of the class function that basically perform the initialization of the each object in the computer science.

Then, the constructor initialized actual value of the member of an object are allocated to the given object in the system.  

6 0
3 years ago
Other questions:
  • The reason why a database table is in the first normal form (1NF), but not in the second form (2NF) is because:
    12·1 answer
  • Write a function named sortie that takes three integer parameters by reference and rearranges them in ascending order--the first
    6·1 answer
  • What are indexes in a database?
    14·1 answer
  • Juan is interested in getting a job in the technological field. He is interested in protecting data from threats, and stopping h
    9·1 answer
  • Name 8 different types of packages that are widely used​
    8·1 answer
  • Write code to simulate the following differential equation for x ranging from 0 to 5. Assume y = 0 when x = 0. Plot y vs. x usin
    11·1 answer
  • If you have four documents open and click the x button on the title bar, _____.
    8·1 answer
  • What type of filtering software divides email messages that have been received into two piles, spam and non-spam and then analyz
    13·1 answer
  • The current in a resistor is 5.0 A, and its power is 60 W. What is the voltage?
    12·2 answers
  • A device that turns hard copy, such as a paper document, into a digital format that can be viewed or manipulated on a computer i
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!