A row, which is also called a tuple.
Answer:
The Base Error Rates evident in more complex activities such as programming a computer is:
a. 2%.
Explanation:
Any error rate higher than the above (2%) will be considered too high. Most of these errors can be traced to the source of the error (syntax, runtime, or logic errors) or to the type of the error (mistakes, failures, or slips). No matter the source or type, errors occur from human activities or involvements in the programming. However, standards have not been established for programming errors yet.
Answer:
C. Object Oriented
Explanation:
In Object Oriented approach to development of information systems, processes and data are handled independently and could be tested as separate modules before the actual development begin.
Hope this helps!
Answer: 17.7 Years
Explanation:
YEARFRAC is a function in Microsoft Excel that returns the year fraction representing the number of whole days between a particular start date and an end date.
A typical view of the function is:
=YEARFRAC(start_date, end_date, [basis])
All that needs to be done is
1. Type in the equal to sign(=) in the cell you want your answer,
2. Type in YEARFRAC and open your bracket,
3. Input your start date and end date, close your bracket and press enter.
Answer:
The following fix were made to the program
- Change void main() to int main(), then set a return value at the end of the main function; e.g. return 0
- Remove system("pause"); It's not needed
- For each of the array, change their lengths to 5 i.e. int votes[5]; string name[5]; and float percent[5];
- Lastly, calculate the percentage using: percent[i]=((votes[i]*100.0/total))
Explanation:
(1) void main implies that the main function will not return any value. So, you change it to int main() and then set the return value
(2) There is no need to pause the program, so system.("pause") is not necessary.
(3) The question says there are 5 candidates. So, we set the arrays to accommodate inputs for 5 values
(4) percent array is declared as float; 100.0 will ensure that it calculates the percentage as a float value.
<em>See attachment for updated code</em>