"However the storm’s effects will be far-reaching with impacts spreading well away from the storm’s track," the centre said in a bulletin issued at
Forecasters say
Tropical storm warnings and hurricane watches were in effect for parts of southern and eastern
The storm’s winds were clocked at |
You will replace the 6 struck out passages with values you will input from the user. These values should be stored in variables of the appropriate types (use int or float when possible). Make sure each line ends at the same place as the example below. The following is a sample run of the program (user input is bold and slightly larger in the example):
Please enter a province or state: New York Please enter a male name: Bob Please enter a female name: Cassiopeia Please enter a city: Edmonton Please enter a number between 1 and 12: 42 Please enter a real number: 123.456--------------------------------------------------------------------------------- New Yorkers who were hit hard by hurricane Bob two years ago were hunkering down for tropical storm Cassiopeia.
Cassiopeia isn’t expected to be quite as ferocious as Bob, but will almost
"However the storm’s effects will be far-reaching with impacts spreading
Forecasters say Cassiopeia will touch down as a hurricane or a strong
Tropical storm warnings and hurricane watches were in effect for parts of
The storm’s winds were clocked at 123.456 kilometres per hour as it headed |
See an example of the comments required for an assignment. You will need to submit a copy of your program's folder in the drop off folder. Use your name as the name of the program. For example, if your name is Jane Lee then save your program as JaneLeeA1. The A1 signifies this is the first assignment. Save the file in your home folder (G:\My Drive\Processing) not on the desktop. That way it will be available on any school computer, not just the computer you were using.
The marking scheme is as follows:
____ 17 Folder submitted correctly with correct name (1) ______ Declares variables with appropriate types (3) ______ Good identifiers (1) ______ Prompts and reads information (3) ______ Prints article neatly without typos (3) ______ Opening comment (1) ______ Opening comment (name __, course __,assignment # __, purpose __, due date ___ (1) ______ Variable dictionary (2) ______ Internal comments and indentation (2) ______