Questions: 1 835

Answers by our Experts: 1 539

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 uses an array of string objects to hold the five student names, an array of five characters to hold the five students’ letter grades, and five arrays of four doubles to hold each student’s set of test scores.

The program should allow the user to enter each student’s name and his or her four test scores. It should then calculate and display each student’s average test score and a letter grade based on the average.

Input Validation: Do not accept test scores less than 0 or greater than 100.
Student e-mail IDs at Pace University consist of the first and last initials of the student, followed by five digits, followed by either the letter n or the letter p.
Write a program that asks the user to enter a Pace e-mail ID. The program should then validate the form of the ID as just described. If the ID is invalid, the pro- gram should tell the user which part (or parts) of the ID is invalid. If the ID is valid, the program should display an appropriate message.
Your city’s Parking Violation Bu-reau wants you to write a program to compute fines for parking violations. There are four types of violation: type A carries a fine of $10, type B carries a fine of $20, type C carries a fine of $30, and type D carries a fine of $50. The program should ask for the name of offender, the number of type A violations, the number of type B violations, and so on. Store the offender’s name in a string object. The program should display the offender’s name and the total fine for the person.
By using the concept of structure, write a program that use structure tag name struct Person of five (5) persons that consist variable name, age, gender and address. Each person must have different addresses whereby another structure called struct Address need to be derived from each person. struct Address must consist of variable roadname, state, and zipcode. Any member of a structure, use the member access operator (.) to output the data of these five (5) persons.
To reveal your code’s functionality, your output should have similar layout as below :
NAME: LUKE SKYWALKER AGE: 29
GENDER: M
ADDRESS
ROADNAME: 107, NEBULA STAR,GALAXY FAR FAR AWAY
ZIPCODE: 41799
STATE: NEPTUNE
You are required to write a C++ program that indicates Linked List :

a) Create a structure “model”. This structure basically has members of model name, model height, model weight, model ethnic. The data which will store the information and second is node *next which will hold the address of the next node.
b) Create a structure “node”. This structure has all the model data and node pointer that will carry the model informations from structure model.
c) Insert 4 data of models named, Heidi, Zoey, Alexis and Lisa that carries informations of the their heights, weights and ethnic into the nodes. Declare the first node and the last node as NULL.
d) Print out the data of the models that include all the informations added as shown in the example below:













Print the data consequently for other 3 models as shown in the output above.
A sweatshirt manufacturer wants to take inventory of the college logo sweat- shirts that it has in stock. The company makes sweatshirts for seven colleges. Refer to the colleges by number, 1–7. Sweatshirts come in four sizes: small, medi- um, large, and x-large. An employee gathers the inventory information by hand. Write a program that prompts the employee to enter the number of sweatshirts in stock for each of the seven colleges in each of the four sizes. Store the inventory information in a two-dimensional array. After inputting the inventory data, the program should display an inventory report in the following format.
Write a program that asks the user to enter up to 20 integers.Store the integers in an array of longs. Then, the program should ask the user to enter an integer. The program should use the function Find_It()to locate the integer in the array. The third argument in Find_It() is the address of the found integer. The function should return 1 if the integer is found and 0 otherwise. If the integer is found, the program should replace the integer by its negative and display the elements in the array. If the integer is not found, display an appropriate message.
A sweatshirt manufacturer wants to take inventory of the college logo sweat- shirts that it has in stock. The company makes sweatshirts for seven colleges. Refer to the colleges by number, 1–7. Sweatshirts come in four sizes: small, medi- um, large, and x-large. An employee gathers the inventory information by hand. Write a program that prompts the employee to enter the number of sweatshirts in stock for each of the seven colleges in each of the four sizes. Store the inventory information in a two-dimensional array. After inputting the inventory data, the program should display an inventory report in the following format.
Inventory Report College
1 2 3 4 5 6 7 Total
Size
Small Medium
Large
XLarge
College Total Total Quantity On Hand
At the end of each row should be the total inventory for that size. At the bottom of each column should be total inventory of each college. The Total Quantity On Hand should be the total inventory of all sweatshirts.
a program that will compute and assess the tuition fee of the students in one trimester, based on the given mode below:

Mode of payment. Discount(-) or Interest(+)
Cash(1) 10% discount
Two-installment(2) 5% interest
Three-installment(3) 10% interest
note:
-the user must the name and the course of the student, the tuition fee and the mode of payment.
-the user must use the key(1,2,3) in selecting the mode of payment.
-the name and course will be displayed together with the total of payment.
i want to ask that how can i apply time limit in snake game.Please send the easiest method.
LATEST TUTORIALS
APPROVED BY CLIENTS