subject

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
Answers: 2
question
Computers and Technology, 25.06.2019 03:30
What best describes the purpose of occupational safety and health administration
Answers: 1
You know the right answer?
Click to Launch Publique la respuesta para uno de los siguientes ejercicios.
1. The programm...
Questions
question
Mathematics, 27.08.2020 23:01
question
Mathematics, 27.08.2020 23:01
question
Mathematics, 27.08.2020 23:01
question
Mathematics, 27.08.2020 23:01
question
Mathematics, 27.08.2020 23:01
Questions on the website: 13722367