Write a function which takes as parameter 3 points and tell whether these
points are the coordinates of isosceles or equilateral or right angled or scalene
triangle. NOTE “Make separate functions as isEquilateral, isRightAngled and
so on... ”.
Sample Input: P1 0 0
P2 1 0
P3 1 1
Sample Output: Right Angle Triangle
Write a c++ program that computes the monthly net pay of the employee for a steel factory. The input for this program is the hourly rate of pay, the number of regular and the overtime hour work. The tax-deductible rate is 20%. You need first to calculate the gross pay, which is the sum of the wages earned from regular hours and overtime hours, the overtime is paid at 1.5 times the regular rate. Then you subtract the tax from the gross pay to get the net pay of the employee.
You are living off-campus and drive your car to ODU campus everyday of a week. You wonder how many mileages you travel in a week (just to campus and back home) and how much you need to pay for the gas. You log your travel mileage every day during a week (just to campus and back home). This information has been saved in an input file called “mileage.txt”.
Design an algorithm and write a C++ program to do the following:
4)Mr Caleb the Hoc of 200 level computer science in Caleb university bought the following goods in one of the warehouse in Lagos where prices of these goods or products are displayed exclusive
*One bag of rice @ 30,000.00 naira
*A 25 litre of groundnut oil @15,000 naira each
*50kg of beef @5,000 naira each
a)Write a C++ program to find the total amount paid by Caleb HOC if VAT was charged @17.5%
b)What is the total Expenditure of HOC is transportation
A batch of concrete is made using the following materials *cement=30,000kg *Sand=50,000kg *Gravel=17,500kg *Water=3000kg a)Write a C++ program code to calculate and display the amount of sand in a real number and a percentage of the total mass of concrete. b)The amount of water in real number,and a percentage of the amount of cement.
create a program that accept integer and determine if the integer value is odd or even number
Design a flowchart and pseucode for question
A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows: * Savings accounts receive 4% interest. * Checking accounts with balances of up to $5,000 more than the minimum balance receive 3% interest; otherwise, the interest is 5%. Write a program that reads a customer’s account number (int type), account type (char) s for savings, c for checking, minimum balance that the account should maintain, and current balance.
Write a C program that follows these guidelines:
design a program analysis , pseucode and flowchart for question A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows: * Savings accounts receive 4% interest. * Checking accounts with balances of up to $5,000 more than the minimum balance receive 3% interest; otherwise, the interest is 5%.
Number of registrants Fee per person
1 through 4 R100.00
5 through 10 R 80.00
11 or more R 60.00
Complete the program below.
#include <iostream> using namespace std; int main()
{
// Question 4.1 (2)
// Declare a variable to hold the number of registrants and a
// variable to hold the amount a company owes for a seminar