Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . 5 Writing programs Given an individual's gross revenue between 2 0 0 0 and 3 0 0 0 , write an algorithm that

1.5 Writing programs
Given an individual's gross revenue between 2000 and 3000, write an algorithm that computes
the taxes levied on this individual.
We know that, between 2000 and 3000, taxes amount to 500+47.5% of the part that exceeds
2000.
grad
Explain what this algorithm does, and give its specifications.
????3. Write a program that gives a disc's perimeter given its radius. The radius length is given in mm.
What do you have to add or modify to compute and display the disc's area ?
,4. Write a program that receives five values from the user, and displays their average.
????,5. Write a program that asks the user for parameters a,b,c for the quadratic formula f(x)=ax2+bx+c.
Then, the program asks the user to provide a specific x, and calculates f(x).
????,. Write a program that swaps the values contained in variables A and B. The values are provided by
the user.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

Classify delivery styles by type.

Answered: 1 week ago