Union Bank Plc approached CALEB University Management through Property & Suvey department for a Cubic yard or land protection for a Cash Centre operation. If the cost per cubic yand is
estimated at N5,000.00 , write a C++ program to determine the following: (i) The squareFeet of land to
be covered; (ii) The inches depth the protection to be spread; (iii) The number of cubicFeet of protection
needed; (iv) Number ot cubic Yards of protection needed; (iv) The overall price for all the cubic yards
ordered. Hints: cubicPeet is depth divided by 12.0 and multiply by square Feet; cubic Yards is cubicFeet
divided by twenty-seven; also determine total price UBN will pay CALEB University Management
Use setw() to determine decimal point.
Wrte a C++ program that will receive your full names as strings from the screen and display every character of the string with ASCII value.
Write a function that take a number and return the previous and next numbers of the
first parameter passed. (Write codes for the main function also.)
You are given an array of N non-negative integers: A1, A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1, Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.
The first line of the input contains an integer T denoting the number of test cases.
The first line of each test case contains an integer N denoting the number of elements in the array.
The second line contains N space-separated integers A1, A2, ..., AN denoting the array A.
If his basic salary is less than Rs. 1500, then HRA = 10% of basic salary and DA = 90% of basic salary. If his salary is either equal to or above Rs. 1500, then HRA = Rs. 500 and DA = 98% of basic salary. If the employee's salary is input through the keyboard write a program to find his gross salary.
algorithm step by step procedures that adds numbers from 1 to 100
(use two-dimensional array c++ not java) A company has four salespeople (1-4) who sell five different products (1-5).each salesperson passes in a slip for each different type of product sold. Each slip contains the following:
a) salesperson number
b) product number
c) total dollar value of that product sold that day
Thus, each salesperson passes in between 0 and 5 sales slips per day. Assume the information from the slips for last month is available. Write a program that will read all information for last month’s sales (one salesperson’s data at a time) and summarize the total sales by salesperson by product. All totals should be stored in the two-dimensional array sales. After processing all the information for last month, print the results in tabular format with each of the columns representing a salesperson and each of the rows representing a product. Cross total each row to get the total sales of each product for last month; each column to get the total sales by salesperson for last month.
We Filipinos are quite known for the habit of leaving at least one of the many pieces of food on the plate as it can't be equally divided among all at most times. Just like when 3 people decide to eat a pizza of 10 slices, there will often be at least one slice left on the box. To accurately show just how many pieces of things are left when divided by a certain number, we code it using modulo.
Care to do it for me?
Consider you are working as a developer in a software house “XYZ” and you have to develop a program that will detect the Real time objects by using the Camera. As a developer, you have to decide which programming paradigm would be feasible to design develop this system.
Identify the programming paradigm from the list given below and justify your answer with proper reasons.
Object Oriented Programming Paradigm
Procedural Programming Paradigm
Given a sorted array of data with lower bound LB and upper bound UB, and items is a given item of information. Using variables BEG,END and MID to denote, respectively,the beginning end and middle locations of a segment of elements of Data. Write a c++ program which finds the location LOC if item in DATA or sets LOC=NULL