Create a new project, and name it P1T7 Write a program that requests from a user the number of pies (at R18.50 per pie) and the number of hamburgers (at R35.00 per hamburger), and then calculates the total for the order. Now extend this program to request the amount paid by the user, before calculating the change that needs to be paid out. Challenge: Can you calculate and display the exact coins and notes that are needed to make up the change (least amount of notes and coins)? For example, R13.50 change will need the following: 1xR10.00, 1xR2.00, 1xR1.00 and 1x50c
Solve this Question using Inheritance only:
A Company named Aurora rugs hires you to write an application for them. The application should
calculate the cost of carpet for a room. The formula is: Area (w X l) multiply with the cost of 1 square foot. e.g. suppose the area of room is: length is 12 feet and width is 12 feet so that makes the area 120
square feet. Cost of carpet is $10 for a single foot which will make an expense of (120*10=1200)
Dollar 1200. Now define a class named RD i.e. Dimensions for the Room that contains 2 private data
members: To store the length which should be of Floating point to store the decimal value and
another to store the width which also should be of floating point. Implement an overloaded constructor that takes two parameters and initializes the object by
initializing data members.
.
Write the content of a separate style.css file, using a “generic class selector”, so that the color of
the specified elements is green. The specified elements are:
1) The heading “Tell me you’re URL:”
2) The word “URL”
3) The table heading “CHOOSE”.
These elements are highlighted in Figure. You must also show how to relate the style.css file
from your XHTML document and write CSS for the following figure.
And sir please guide how i can send file to you because figure given in screen shot in question paper
A user can interact with menus and visual images by using __________.
write a c++ program to enter the elements of the matrix a[4][4] then put the product of the first and last row elements of the array a in the new generated one dimensional array b[4]; finally display the array b.
1. What are the importance of creating straight through cable?
2. What are the importance of creating crossover cables?
3. Cite a situation in which you can apply the knowledge of creating crossover cables.
1. What are the importance of creating modular jack cable?
2. Cite a situation in which you can apply the knowledge of creating modular jack cable
write a tkinter gui program in python that collects contact details from the user. Contact details refer to the contact’s full name (first name and last name), phone number, date of birth and a category that the contact belongs to (Friends, Family, Work, Other)
The Phone Book will display the following Menu and will support the corresponding functionality: **************** Phone book Menu******************
Enter your choice:
1: Add a new contact
2: Remove an existing contact
3: Look up a contact
4: Update a contact phone number
5: Display all contacts
6: Delete all contacts
7: Exit phonebook
#include <iostream>
using namespace std;
void writeProverb();
//This is the prototype for the writeProverb function
int main()
{ // Fill in the code to call the writeProverb function
return 0; }
// *********************************************************************
// writeProverb
//
// task: This function prints a proverb
// data in: none
// data out: no actual parameter altered
//
// ********************************************************************
// Fill in the function heading and the body of the function that will print
// to the screen the proverb listed in the comments at the beginning of the
// program
Question: Fill in the code (places in bold) so that the program will print out the proverb listed in the comments at the beginning of the program. The proverb will be printed by the function which is called by the main function.
1) Create a class named 'Member' having the following members:
Data members
1 - Name
2 - Age
3 - Phone number
4 - Address 5 - Salary
It also has a method named 'printSalary' which prints the salary of the members. Two classes 'Employee' and 'Manager' inherits the 'Member' class. The 'Employee' and 'Manager' classes have data members 'specialization' and 'department' respectively. Now, assign name, age, phone number, address and salary to an employee and a manager by making an object of both of these classes and print the value you assigned.