Pseducode Practice
Pseducode Practice
Answer;
Declaration
Initialization ( C 1 )
Input
Output percentage
Q2. Write pseudocode that should input 10 positive numbers and then
output the smallest number input.(Using loop)
Q3. Read this section of program code that inputs 10 positive numbers
and then outputs the total.
Q4.Write pseudocode to input 100 numbers and print out the sum. A
REPEAT…UNTIL loop has been used.
Q5.Write a pseducode that input 100 number and count how many
number are positive and how many numbers are zero. Output the
result.
Q6. Write a flow chart that print squared of first five no.
Q7.A town contain 5000 houses . Each house owner must pay tax based
on the value of house.Houses over $200000 pay 2%. Houses over
$100000 pay 1.5% and houses over $50000pay 1%. All other pay no
tax. Write a flow chart.