Programming Questions & Answers | Solutioninn.com
- Area of Triangle You are given 3 sets of coordinates that form a triangle. Write code to find the area of the triangle enclosed by those coordinates. For example, the 3 points have coordinates...
The Student News Service at Clear Mountain State University (CMSU) has decided to gather data about the undergraduate students that attend CMSU. CMSU creates and distributes a survey of 14 questions... You will develop a program that loads student, course, and grade data from a text file, then allows the user to perform simple queries on that data through a command line interface. The intention of... Write a Ruby or Bash script that will print usernames of all users on a Linux system together with their home directories. Here's some example output: gitlab:/home/gitlab nobody:/nonexistent . As you... Part 1 Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each... String Chains: Given an array of words representing your dictionary, you test each word to see if it can be made into another word in the dictionary. This will be done by removing characters one at a... The code on pages 20-21 of the Text book asks you to input a number, and it will then sum the numbers from 1 to that number. The Prompt asks you to input a number, not necessarily an integer. The... Ensure the Sales worksheet is active . Enter a function in cell B8 to create a custom transaction number. The transaction number should be comprised of the item number listed in cell C8 combined with... You are a manager of a Wally's Training Gym and you encourage your trainers to enroll new members. Input is the trainer's last name and the number of new enrollees. Output is the number of trainers... I need a program written in Java. Write a simple line editor. Keep the entire text in an ArrayListobject, one line in a separate index position. Start the programwith entering EDIT file, after which... The class date Type was designed to implement the date in a program, but the member function set Date and the constructor do not check whether the date is valid before storing the date in the member... Write an address book program that stores your contacts' names and their email addresses. The names and email addresses are originally stored in a file called phonebook.in, in the format: Harry... Modify the guessing-game program so that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses, and it must prevent the user from... Write a program that will read data from the file "p6.txt". The file (that you will create) always contains 15 test scores (whole numbers between 0 and 100). The test scores are scores for 5 students... Modify the sentence-generator program of Case Study so that it inputs its vocabulary from a set of text files at startup. The filenames are nouns.txt, verbs. txt, articles.txt, and prepositions.txt.... Ethan is the leader of a team with N members. He has assigned an error score to each member in his team based on the bugs that he has found in that particular team member's task. Because the error... Metro Land is a country located on a 2D Plane. They are having asummer festival for everyone in the country and would like tominimize the overall cost of travel for their citizens. Costs oftravel are... Design a Java class named Guitar that contains: A private int data field named numStrings that defines the number of strings on the guitar. The default value should be 6. A private double data field... Write C++ statements that do the following: (i, 2, 3, 4. 5) Submit your answer to dropbox. a. Define an enum type, flowerType, with the values ROSE, DAISY, CARNATION, FREESIA, GARDENIA, ALLIUM,... Design and implement a Class named Postal that represents information for a postal customer Voting a first name, last name and integer representing a zip code Provide a constructor that accepts the... Develop a REST server script named measurement_server.py. This script will respond to requests for data from the measurement database by sending back data that is JSON serialized. The server should... In Java Write a class named Patient that has fields for the following data: First name, middle name, and last name Street address, city, state, and ZIP code Phone number Name and phone number of... Design a data mart solution for the SUN hotel chain that has over 300 hotels of different categories all over the world. On a daily basis in the OLTP system of each hotel, information on free,... Create a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods parse, toString, add and subtract. Method parse should receive a...