subject

You do not need to use any functions beyond the main function in this problem. initialize an array of int with the values: 4, 6, 9, and 12.write a for loop to add the values in the array and find their sum. write a second loop to print the values from the array and their sum in the following format:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
question
Computers and Technology, 24.06.2019 23:30
True or false when a host gets an ip address from a dhcp server it is said to be configured manually
Answers: 1
question
Computers and Technology, 25.06.2019 10:30
Design a payroll class with the following fields: • name: a string containing the employee's name • idnumber: an int representing the employee's id number • rate: a double containing the employee's hourly pay rate • hours: an int representing the number of hours this employee has worked the class should also have the following methods: • constructor: takes the employee's name and id number as arguments • accessors: allow access to all of the fields of the payroll class • mutators: let the user assign values to the fields of the payroll class • grosspay: returns the employee's gross pay, which is calculated as the number of hours worked times the hourly pay rate. write another program that demonstrates the class by creating a payroll object, then asking the user to enter the data for an employee in the order: name, id number, rate, hours. the program should then print out a statement in the following format (for example, if you had an employee named chris jacobsen with id number 11111, who works for 5 hours at $10/hr): chris jacobsen, employee number 11111, made $50.00 in gross pay. using text forming so that the gross pay is rounded to two decimal places.
Answers: 2
You know the right answer?
You do not need to use any functions beyond the main function in this problem. initialize an array o...
Questions
question
Computers and Technology, 16.04.2020 09:35
Questions on the website: 13722360