Suppose that the cost of sending an international fax is calculated as follows: Service charges $3.00; $.20 per page for the first 10 pages; and $0.10 for each additional page. Design an algorithm that asks the user to enter the number of pages to be faxed. The algorithm then uses the number of pages to be faxed to calculate the amount due. Write your algorithm in pseudocode in c++ then write in hand written on paper
Suppose that the cost of sending an international fax is calculated as follows: Service charges $3.00; $.20 per page for the first 10 pages; and $0.10 for each additional page. Design an
Introduction
Pseudocode: Pseudocode is a plain English representation of the steps that a computer program would take to perform a certain task. It is a way of expressing algorithms and logic in a high-level, human-readable format that is easy to understand, but doesn't use any specific programming language syntax. The purpose of pseudocode is to describe the logic of a program in a way that is easy for people to understand, while still retaining the structure of a program. It can be thought of as a bridge between natural language and programming code.
Pseudocode can be used to plan out the design of a program, to test the logic of a program before writing actual code, or to communicate the logic of a program to others, such as fellow programmers or stakeholders.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images