Computers and Technology

Click to Launch Publique la respuesta para uno de los siguientes ejercicios.
1. The programmer intends for this pseudocode to display three random numbers in
the range of 1 through 7. According to the way we've been generating random
numbers in this book, however, there appears to be an error. Can you find it?
// This program displays three random numbers
// in the range of l through 7.
Declare Integer count
// Display three random numberg.
Por count 1 TO 3
Display random( 7, 1)
End For
2. Can you find the reason that the following pseudocode function does not return
the value indicated in the comments?
// The calcdiscount Price function accepts an item's price and
// the discount percentage as arguments. It uses those
// values to calculate and return the discounted price.
Function Real calcDiscountPrice (Real price, Real percentage)
// calculate the discount.
Declare Real discount price • percentage
// Subtract the discount from the price.
Declare Roal discount Price price dincount
// Return the discount price,
Return discount
End Funclion

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:00, 19youngr
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, bellamyciana
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
image
Computers and Technology, 24.06.2019 03:30, ilovewaffles70
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
image
Computers and Technology, 24.06.2019 08:10, anthonysutton82
Where are american poets found in the dewey decimal system
Answers: 1
Do you know the correct answer?
Click to Launch Publique la respuesta para uno de los siguientes ejercicios.
1. The programm...

Questions in other subjects:

Konu
Mathematics, 31.12.2021 01:00