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
Write a C++ Program that input into 1-D array of 15 values. It fill the array then draw the bars one by one of the histogram.
A man walks 7 km in 2 hours and 2 km in 1 hour in the same direction.a) What is the man's average speed for the whole journey?Create a program that will automatically compute for the man’s average speed. Use function in designing the program. The formula on how to get the speed is speed = distance / time
Design a pseucode and flowchart for the question The population of a town A is less than the population of town B. However, the population of town A is growing faster than the population of town B. Write a program that prompts the user to enter the population and growth rate of each town. The program outputs after how many years the population of town A will be greater than or equal to the population of town B and the populations of both the towns at that time. (A sample input is: Population of town A = 5000, growth rate of town A = 4%, population of town B = 8000, and growth rate of town B = 2%.)