Applying given information of a computational language in pseudocode, a code may be written to represent computing the price of an item on sale for 10% off.
<h3>What is a pseudocode?</h3>
A pseudocode can be considered as a depiction of the steps represented in an algorithm, usually in plain (natural) language.
<em>//This </em><em>pseudocode </em><em>is intended to describe</em>
<em>//computing the </em><em>price </em><em>of an </em><em>item </em><em>on </em><em>sale </em><em>for 10% off</em>
<em>START</em>
<em>  input origPrice</em>
<em>  </em><em>discount </em><em>= origPrice * 0.10</em>
<em>  </em><em>finalPrice </em><em>= 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 miles per </em><em>gallon </em><em>you get with your car.</em>
<em>START</em>
<em>  input milesTraveled</em>
<em>  input gallonsOfGasUsed</em>
<em>  milesPerGallon = milesTraveled / gallonsOfGasUsed</em>
<em>     //milesPerGallon is computed using </em><em>division</em>
<em>  output milesPerGallon</em>
<em>     //miles is misspelled, and the P in </em><em>milesPerGallon </em><em>should be uppercase</em>
<em>STOP</em>
<em>  //</em><em>Program </em><em>should end with stop</em>
<em>//This pseudocode is intended to describe</em>
<em>//computing the </em><em>per day cost </em><em>of your rent</em>
<em>//in a 30-day month</em>
<em>START</em>
<em>  input rent</em>
<em>  costPerDay = rent / 30</em>
<em>     // Comment indicates 31-day month</em>
<em>  output costPerDay</em>
<em>     // output should be </em><em>costPerDay</em>
<em>STOP</em>
Learn more about the pseudocode here :
brainly.com/question/13208346
#SPJ1