Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

write a program that creates a structure template with two members according to the following criteria: the first member is a student number (following the format of 10 digits: yyyymm wxyz yyyy = birth year, on = birth month, wxyz = random 4 digit code) the second member is a structure with three members according to the following criteria: first member is "first name" second member is "middle name" third member is "last name" write and test a program that creates and initializes an array of five of these structures (make up pretend names/numbers for your 5 students). write a single function that accepts the array of structures as its parameter for printing the array data in the following format:
write and test a function that sets each element in an array to the sum of the corresponding elements in two other arrays. for example, if array 1 has the values { 2, 4, 5, 8 } and array 2 has the values { 1, 0, 4, 6 }, the function should assign array 3 the values { 3, 4, 9, 14 }. be sure to include all the tests you performed to demonstrate that this function works as specified.
Create a program to output the day of the week according to the number entered on the keyboard.

At the end of a financial year a company decided to give bonus for their employees. The bonus for each employee is calculated as n times of their basic salary. n is a number between 0 and 2.

 

You are asked to write a C program to calculate the bonus given for the employees.

 

Write a function called calcNoOfTimes() to calculate and return the number of times for each employee. Number of times depend on the employee category as shown in the following table.

 

Employee Category No of times


1 1.0

2 1.5

Other ( 3 - 9) 2.0


In your main function enter the employee category and the salary of an employee from the keyboard. Calculate and display the bonus given for the employee using the above implemented functions.

 

Enter Salary : 15000.00

Enter employee number : 2

Bonus : 22500.00



Write a class Factors to model the factors of a integer1 à ƒ ƒ ¢ € ¢have a attribute storing the integer whose factors are to be calculated à ƒ ƒ ¢ € ¢have a boolean array attribute( factors) where each element record if that index is a factor of the integer ie factors[5] = True à ƒ ƒ ¢ € ¢have a constructor assign the stored integer attribute to a user value and create the factors array, size of this factors array? à ƒ ƒ ¢ € ¢have a method to calculate factors of stored integer and store this in mentioned Boolean array This is done by dividing the integer by the integers less than itself check for a remainder à ƒ ƒ ¢ € ¢have a method that print out the factors of stored integer to screen à ƒ ƒ ¢ € ¢have a method that takes another Factor object and prints out common factors between that object and current object. Demonstrate this class work by creating two factors objects one with a stored integer value of 28 and the other with a stored integer value of 42 Print out all and unique, common factors of both, print out if they are perfect number

Write a function to sort data. (in increasing order) in an array using

a. pass by value

b. and pass by reference.?


Write a. program that inputs a string value from the user and displays it in

reverse using pointer.?


Using the information above, draw a diagram to illustrate the file and folder structure, and permission strategy for the H:\ and W:\directories.


Using the information above, draw a diagram to illustrate the file and folder structure, and permission strategy for the H:\ and W:\directories.


Write a program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980. The program then outputs the date of birth in the form: August 27, 1980. Your program must contain at least two exception classes: invalidDay and invalidMonth. If the user enters an invalid value for day, then the program should throw and catch an invalidDay object. Follow similar conventions for the invalid values of month and year. (Note that your program must handle a leap year.)


LATEST TUTORIALS
APPROVED BY CLIENTS