Challenge Team Interim Report
![]() |
Team Number: 069 School Name: Ruidoso High School Area of Science: Geography Project Title: Return To Gondwanaland |
|
|
|
|
// This is the C++ beginning of the Team 069 Super Computing Challenge // program about calculating continental drift. // // This will be accomplished by programming our own coordinate system. // The continent that we will use will be thoroughly described later. // This is just the beginning! #include#include void main(); { const char opening_message = "-----------------------------------\n Welcome to Return to Gondwanaland \n-----------------------------------\n \n -- A program that calulates\nContinental Drift using a made up, flat-plane coordinate system\nas well as a made up rectangular continent.\n"; const char continent_name = "Team 069 -- NMSCC '98\n"; const char continent_description = "The continent is a square with an area of 36 square units(6 x 6)\nIt sits on a flat plane\n It's direction is constantly 180 degrees(S)\n It's speed is a constant 5 units/year/nThe current year is 1998"\n\n\n; const char vector_name = "continent 1"; const int cur_year = 1998 const int x_coord = 26; const int y_coord = 32; const int vector_velocity = 5; const int vector_direction = 180; int new_year; int new_x_coord; int new_y_coord; int math_year; int y_distance; int x_distance; cout << opening_message; cout << continent_name; cout << continent_descrition; cout << Please type the year you want to calculate for -- "; cin >> new_year; while (new_year <= cur_year) cout << "Error: year must be greater than the current year!\n"; cout << "Please type the year -- \n\n"; cin >> new_year; math_year = new_year - cur_year; y_distance = vector_velocity * math_year; new_y_coord = y_coord - y_distance; cout << "The old coordinates were, (" << x_coord << "," << y_coord << ")\n"; cout << "The new coordinates are, (" << x_coord << "," << new_y_coord << ")"; return 0; }
Team Members
Sponsoring Teachers
Project Advisor(s)