Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

write a simple c++ program to compute the area of a circle


Produce a pseudocode, a flowchart, and a program that computes for the toll charge of trucks entering San Miguel and exiting Tipo. The toll charge is P 73.55 per kilometer. San Miguel starts at km 0 and ends at Tipo at km 63. The toll charge is inclusive of 8.25% tax.

Sample run:

Welcome to Toll Plaza

Please pay: P 4633.65

Tax: P 353.14

Amount tendered: P 5000

Change: P 366.35



 Create class PI with data members roll and name. Create another class AI with data members sub1 and sub2. Derive a class Student from PI and AI classes. Student class has one data member total to calculate the sum of sub1 and sub2.


Create a Pseudocode that asks for the user's name, gender, and year of birth. Based on the computed age from the user's entered birth year and the assigned variable current year (2020), it will determine if the user is a qualified or not qualified voter. It will also ask whether the user wants to attempt filling out the form again.

Write a c program to search page 11 in a book where you don’t visit every page from 1 to 50. You open any random page in the book and check its page number. If the current page number is greater than 11, then 11 is on the left side of the current page.

How to represent a polynomial using linked list? Write the the

program to add three polynomials.


Part 1

The volume of a sphere is 4/3πr3, where π has the value of "pi" given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the volume of the sphere.

Call your print_volume function three times with different values for radius.

Include all of the following in your Learning Journal:

  • The code for your print_volume function.
  • The inputs and outputs to three calls of your print_volume.

Part 2

Write your own function that illustrates a feature that you learned in this unit. The function must take at least one argument. The function should be your own creation, not copied from any other source. Do not copy a function from your textbook or the Internet.

Include all of the following in your Learning Journal:

  • The code for the function that you invented.
  • The inputs and outputs to three calls of your invented function.
  • A description of what feature(s) your function illustrates. 

1. Create a Table: A. Create a table called Publisher having the following structure: Field Name Data Type PubID Short Text PubName Short Text URL Hyperlink Set the field PubID as the primary key. Set the Field Size field property of the field PubID to 5. Set the Field Size field property of the field PubName to 50. Set the caption property of the PubID field to Publisher ID. Set the caption property of the PubName field to Publisher’s Name.




2. Import external data from the Excel spreadsheet file Bookstore. • Make sure to Import the source data into a new table in the current database is selected. • Select the Author worksheet. • Make sure that First Row Contains Column Headings is selected. • For the AuthorID field, set the Data Type option to Long Integer and set the Indexed option to Yes (No Duplicates). • Select Choose my own primary key and make sure the AuthorID field is selected. • Save the table with the name Author


Discuss how to system and application programs differ from each other. Site an example that supports your explanation.


Ben rents a trailer to move his furniture to his new house. The basic cost is R250 per day plus a specific amount that must be entered by him per kilometre travelled. He also has to enter the distance travelled in kilometres.

If Ben travels less than 60 kilometres, an additional surcharge of 3% is payable on the amount due for distance. However, if he uses the trailer for more than 350 kilometres, he receives a discount of 9% on the amount due for distance (Pretorius & Erasmus, 2012:65).

Write a program to calculate and display the amount due.

Hint: use object oriented programming concepts to develop your program.




LATEST TUTORIALS
APPROVED BY CLIENTS