Hi Actually i try to do this programming but i have some problems. I'll become thank you if help me to fix it. It is a simple Ferry Ticketing System with below conditions : FERRY TICKETING SYSTEM A small ferry company has just purchased a computer for its new automated ticketing system. The company director has asked you to design the new system to assign seats for each trip of the 50-seater ferry, which covers the route from Penang to Langkawi and back daily. The upper deck of the ferry is reserved for business class passengers and can accommodate 10 …

Member Avatar
Member Avatar
+0 forum 13

I am stuck doing this assignment given for monday ...i am at the do while coding (already did the interface ...) anw here it is : Candidates for employment by a security organization have to undergo a medical test in which sight, hearing and mobility are tested. In each of these three tests, a candidate is given a score on a scale running from 0 to 89 inclusive. These scores are then converted to grades going from 1 (very poor) to 9 (excellent) with 1 corresponding to scores between 0 and 9 inclusive, 2 corresponding to scores between 10 and …

Member Avatar
Member Avatar
+0 forum 7

I am relatively new to python and am having a hard time with an assignment. We just started using dictionaries and I can't quite grasp what is going on. I am just having trouble figuring out where to even start exactly. This is the code my teacher gave me and he wants us to build off of it [CODE] def buildMorseDicts(morseFile): '''build and return dictionaries to translate to and from Morse code''' toMorse = {} fromMorse = {} # finish this code then remove this comment return (toMorse, fromMorse) def encode(word,toMorse): '''creates a string of . and _ characters to …

Member Avatar
Member Avatar
+0 forum 11

Hello again! I was given an assignment the other day in C++ and I was suppose to use the counter and add a sentinel so the program knew when to stop. Instructors directions: "The file for this assignment reads a sequence of positive integers from a file (2 3 5 7 9 10 22 54 66) and prints them out to the screen together with their sum. Create the text file that can be used to input these integers and add to the program a set of instructions that provides the number of integers in the sequence. You are to …

Member Avatar
Member Avatar
+0 forum 7

Design a program using psuedocode to accept :name, gross salary, personal status, number of children (50employees) Calculate and print: name, gross salary, income tax for all Rules: personal allowance $12000 single person $23,000 married. child allowance $1000 per child. Taxabl;e income gross salary- personal allowance and child allowance. Income tax RUles 10000 and under= no tax greater than 10000 less than 20000 =20% greater than 20000, less than 40000 = 30% above 40000 = 40% OK guys here's what i have Start Declare name, salary, status, children, allowance, taxable_income, income_tax, child_allowance For 1 to 50 Write "name" Read Name Write …

Member Avatar
Member Avatar
+0 forum 6

Hi can anyone please help me with my homework assignment? I am not asking anyone to do this for me but I keep getting an error in declaring GetInput() inside Main. It says Error: No overload for method GetInput() takes 0 arguments and I can not figure out what I am doing wrong. Any help would be appreciated thanks! [CODE]namespace wk1_ilab { class Program { public static void Main(string[] args) { DisplayApplicationInformation(); GetInput(); } public static void DisplayApplicationInformation() { Console.WriteLine("Welcome to the basic user interface"); Console.WriteLine("CIS247 Week1 iLab"); Console.WriteLine("This program accepts user input as a string, then makes the appropriate …

Member Avatar
Member Avatar
+0 forum 1

Ok so i have to write a program called hailstone numbers. Its basically asking the user to enter a number and if its even divide it by 2, if its odd multiply it by 3 and add 1 and then output the number of iterations. I made my program but I have a problem. The series keeps going and doesn't stop. Here's my program - [code=c] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int number = 0; int numIterations = 0;// number of iterations taken to reach 1 cout << "Enter a number:" << …

Member Avatar
Member Avatar
+0 forum 4

Hello, new here, I am having trouble with a part of my C++ assignment I am doing for university. The assignment is about writing a structure for a bank account and then subsequently enter values for the account's number, balance, interest rate, term of holding and deposit/withdrawal amounts. The part I am having trouble with involves displaying the balance for each month, and involves a while or for loop (I have tried both, with no progress). Here is my code, which works aside from the section I am having trouble with which is highlighted in red.: [CODE]//Allows a user to …

Member Avatar
Member Avatar
+0 forum 2

HI, i am Nishank and have got a project -to make periodic table by using the following a. Data Structure b. Object Oriented Programming in C++ c. Data File Handling through the program the user should be able to: a.view the periodic table b.edit the periodic table c.delete a record d.quit can anyone help me with it i have made a file and here is the attachment i am using turbo c++ as the compiler While compiling it is showing me no error but while running it is showing the following errors: Linking PERIDIC.EXE: Linker Error: Undefined symbol _circle in …

Member Avatar
Member Avatar
+0 forum 1

[QUOTE]Sometimes, storing an image is easier if you store the steps taken to draw the image rather than the image itself. In such a situation, a sequence of directed lines are concatenated, or attached to one another, to form the image. For example, a simple drawing program might allow eight simple directions of movement: 8 1 2 7 3 6 5 4 [The arrows didn't copy but the (4-8)(6-2)diagonals and (7-3)horizontal, (5-1)vertical lines] For this example, a “picture” composed of the sequence “1, 3, 4, 3” would draw a line segment up, to the right, down on an angle, then …

Member Avatar
Member Avatar
+0 forum 3

Hey everyone.I am doing bachelors in software engineering and now am in my final year.and need a good idea for my final year degree project.so any good idea.....please do write in detail....waiting for a positive reply

Member Avatar
Member Avatar
+0 forum 16

The End.