Question Details

[solution] » BUGS #1 CHAPTER 1 1. // This pseudocode is intended to describe

Brief item decscription

Step-by-step solution file


Item details:

BUGS #1 CHAPTER 1 1. // This pseudocode is intended to describe
More:

Did I do #2 correctly? This is my first assignment and i want to do well in this class


BUGS #1

 

CHAPTER 1

 

1.

 


 

// This pseudocode is intended to describe computing the price of an item on

 

// sale for 25% of

 

start

 

input origPrice

 

set discount = origPrice * 0.25

 

set finalPrice = origPrice - discount

 

output finalPrice

 

stop

 


 

2.

 


 

// This program accepts a user's monthly pay, rent, utilities, and grocery bills.

 

// It then displays the amount available for discretionary spending (which

 

might be

 

// a negative number). Modify the program to output the pay, the total bills,

 

and

 

// remaining discretionary amount in 3 separate statements.

 

start

 

input pay

 

input rent

 

input utilities

 

input groceries

 

set discretionary = pay - rent - utilities - groceries

 

output discretionary

 

stop

 


 

3.

 


 

// This pseudocode is intended to describe computing the number of miles per

 

// gallon you get with your automobile

 

start

 

input milesTraveled

 

input gallonsOfGas

 

set milesPerGallon = milesTraveled - gallonsOGas

 

output milesPerGallon

 

stop

 


 

Fall 2016

 


 

Bugs #1

 


 

Page 1

 


 

 







About this question:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: Feb 21, 2020

PRICE: $24

Solution~00079074.zip (18.37 KB)

Buy this answer for only: $24

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free copy (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card. All your purchases are securely protected by PayPal.
SiteLock

Need a similar solution fast, written anew from scratch? Place your own custom order

We have top-notch tutors who can help you with your essay at a reasonable cost and then you can simply use that essay as a template to build your own arguments. This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student. New solution orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

Order Now