Meta tags:
Headings (most frequently used words):
in, use, codehs, to, space, orbit, calculator, part, products, plans, cases, platform, curriculum, pd, programming, languages, resources, has, everything, company, javascript, fly, me, the, moon, new, sandbox, program, output, input, please, enable, java, python, html, karel, turtle, by, david, burnham, basic, string, basics, related, tutorials,
Text of the page (most frequently used words):
the (48), codehs (27), for (25), your (22), and (19), coding (18), courses (18), online (15), code (15), our (14), with (13), ide (12), #curriculum (12), use (11), write (11), output (11), center (10), student (10), space (10), orbit (10), are (10), that (10), digital (9), schools (9), school (9), why (9), about (8), elementary (8), grading (8), read (8), computer (8), science (8), platform (8), all (8), products (8), you (8), privacy (7), new (7), program (7), teachers (7), literacy (7), workshops (7), classroom (7), please (7), create (7), going (7), this (7), part (7), look (7), moon (7), academic (6), integrity (6), javascript (6), tutorials (6), standards (6), catalog (6), course (6), states (6), cybersecurity (6), resources (6), person (6), tools (6), data (6), assignments (6), get (6), pro (6), typing (6), professional (6), development (6), high (6), calculator (6), enter (6), take (6), what (6), run (6), middle (6), districts (6), has (5), html (5), java (5), python (5), sandbox (5), projects (5), knowledge (5), free (5), variable (5), from (5), input (5), statement (5), explore (5), vibe (4), karel (4), sql (4), textbooks (4), practice (4), spanish (4), project (4), cte (4), district (4), cases (4), career (4), base (4), blog (4), testimonials (4), case (4), studies (4), microcredentials (4), teacher (4), certification (4), prep (4), cohorts (4), virtual (4), integrations (4), quote (4), codehop (4), tynker (4), cyber (4), range (4), creator (4), certifications (4), basic (4), speed (4), questions (4), user (4), should (4), line (4), will (4), out (4), need (4), information (4), how (4), students (4), fly (4), debug (4), gamified (4), interactive (4), class (4), based (4), store (3), educators (3), security (3), careers (3), company (3), assessments (3), languages (3), state (3), back (3), learn (3), membership (3), hour (3), pathways (3), david (3), burnham (3), welcome (3), value (3), start (3), variables (3), note (3), below (3), cout (3), cin (3), float (3), num1 (3), let (3), help (3), make (3), want (3), number (3), command (3), some (3), can (3), shuttle (3), build (3), view (3), overview (3), customizable (3), comprehensive (3), accessibility (2), policy (2), terms (2), team (2), yes (2), physical (2), computing (2), differentiation (2), everything (2), programming (2), csa (2), hub (2), homeschool (2), alumni (2), webinars (2), customer (2), support (2), book (2), tweets (2), checklist (2), plans (2), lms (2), string (2), basics (2), starting (2), desired (2), maximum (2), payload (2), pounds (2), created (2), here (2), building (2), second (2), answers (2), notice (2), first (2), similar (2), change (2), doesn (2), example (2), std (2), programs (2), able (2), before (2), have (2), one (2), may (2), there (2), many (2), decimal (2), print (2), end (2), world (2), fuel (2), orbital (2), then (2), designed (2), needed (2), started (2), would (2), wild (2), stories (2), blocks (2), tracy (2), events (2), training (2), interdisciplinary (2), measure (2), growth (2), pre (2), posttests (2), logic (2), quizzes (2), quizbuzz (2), culture (2), honesty (2), most (2), complete (2), toolkit (2), education (2), connect (2), web (2), track (2), analyze (2), progress (2), streamline (2), workflow (2), manage (2), organize (2), configure (2), prototyping (2), bool (2), guided (2), easily (2), lessons (2), environment (2), labs (2), industry (2), credentials (2), easy (2), apps (2), aligned (2), educator, facebook, group, certified, management, related, 55000, each, appropriate, name, sample, continue, copying, declaring, called, type, where, looks, very, but, now, become, arrows, show, being, stored, also, important, provide, prompt, still, tell, prompting, mind, more, dynamic, place, seen, math, represents, different, types, such, integers, numbers, strings, which, hold, series, letters, characters, today, lesson, only, call, these, short, floating, fist, three, don, worry, yet, just, like, finally, lines, knows, execute, without, error, time, play, few, thing, ever, screen, must, inside, double, quotes, automatically, add, after, include, hello, uses, following, getting, into, determine, ship, carry, necessary, ask, results, prior, introductory, mechanics, behind, using, calculate, see, trip, spacex, nasa, next, rocket, wonder, taken, long, wasn, travel, between, earth, turtle, click, sign, log, request, tech, articles, tos, built, posts, highlights, feed, real, news, community, say, succeed, practices, mission, open, blank, any, language, right, browser, setup, required, grow, supplemental, educational, settings, teaching, empower, solutions, offer, menu, toggle, navigation, enable, tutorial,
Text of the page (random words):
tutorial fly me to the moon codehs please enable javascript to use codehs toggle navigation codehs menu products elementary middle codehop standards aligned coding for districts tynker gamified coding and apps typing easy to use typing for schools middle high codehs pro comprehensive cs platform certifications industry based credentials for cte cyber range interactive environment for cybersecurity labs ai ai creator easily create lessons with ai vibe coding guided ai coding for students bool ai coding and prototyping use cases districts schools teachers view all products products explore what codehs has to offer for districts schools and teachers elementary middle codehop standards aligned coding for districts tynker gamified coding and apps typing easy to use typing for schools middle high codehs pro comprehensive cs platform certifications industry based credentials for cte cyber range interactive environment for cybersecurity labs ai ai creator easily create lessons with ai vibe coding guided ai coding for students bool ai coding and prototyping use cases districts comprehensive solutions for districts schools tools and resources for schools teachers empower educators in the classroom view all products platform teaching assignments create configure your course assignments classroom manage organize your class grading streamline your grading workflow academic integrity build a culture of honesty in your classroom quizbuzz run gamified interactive quizzes with your class tools data track analyze student progress data write code write run debug code in a web based ide integrations connect codehs to your district s platform ai tools the most complete ai toolkit in cs education logic measure student growth with pre posttests platform assignments create configure your course assignments classroom manage organize your class with customizable settings grading streamline your grading workflow data track analyze student assessments progress data write code write run debug code all in a web based ide integrations connect codehs to your district s educational platform ai tools the most complete ai toolkit in cs education academic integrity build a culture of honesty in your classroom quizbuzz run gamified interactive quizzes with your class logic measure student growth with pre posttests curriculum computer science curriculum customizable k 12 cs curriculum overview course catalog ap courses ai courses interdisciplinary spanish courses ai literacy digital literacy cybersecurity k 12 pathways elementary school middle school high school standards states supplemental practice tutorials digital textbooks curriculum customizable k 12 computer science curriculum course catalog ap courses interdisciplinary ai courses spanish courses ai literacy digital literacy cybersecurity k 12 pathways elementary middle school high school states standards practice tutorials digital textbooks professional development pd professional development online in person training to help teachers grow overview online pd courses in person virtual workshops ai pd free pd events pd cohorts teacher certification prep microcredentials pd membership professional development online in person training for teachers professional development online pd courses in person virtual workshops ai pd pd cohorts free pd events teacher certification prep microcredentials pd membership online ide ide online ide write run debug code right in your browser no setup required overview explore our languages javascript python java c sql html tracy blocks p5 js start a new project open a blank sandbox in any language new project online ide write run debug code in an online ide online ide javascript python java html c sql karel tracy blocks p5 js resources company about learn about the codehs mission privacy center our privacy security practices case studies how schools succeed with codehs testimonials what educators say about codehs community read write code blog news stories from codehs coding in the wild real world coding stories codehs on x posts highlights from our feed student projects explore projects built by students explore states cs resources for your state knowledge base help articles how tos career center explore careers in tech resources about privacy center case studies states testimonials codehs on x read write code blog coding in the wild knowledge base student projects career center request a quote quote log in sign up new sandbox program click on one of our programs below to get started coding in the sandbox java javascript python 3 html karel turtle view all curriculum tutorials fly me to the moon fly me to the moon by david burnham as spacex and nasa look to build the next rocket to go to the moon many may wonder why it has taken so long to get back wasn t the space shuttle designed to travel between the earth and the moon in this introductory hour of code we are going to take a look at the orbital mechanics behind what it would take to fly the space shuttle to the moon then using a c program we will write a basic program to calculate the fuel needed and see if the space shuttle would be able to make the trip to the moon this hour of code is designed for all students no prior knowledge of computer science or c is needed so let s get started with some of the basics output in c we are going to create a program that can determine if a space ship can carry the necessary fuel to make an orbital change to do this we will need to ask the user for some information and then output the results before getting into the program let s look at how we can do basic input and output in c output in c uses the following command std cout hello world there are a few thing to note about our output first what ever we want to print out to the screen must be inside double quotes second c output doesn t automatically go to ta new line if we want to add a new line after out output we need to include n at the end of out string finally you should note that all of our command lines end with a this is how c knows to execute the command and without it we will get an error take some time to play with the example below space orbit calculator part 1 we are going to start building our space orbit calculator for this fist part you are going to output a welcome statement and three questions don t worry about the answers yet just print the questions here is what your output should look like welcome to our space orbit calculator please enter your starting orbit speed km s please enter your desired orbit speed km s please enter your maximum payload pounds input in c to help make our programs more dynamic we want to be able to read information in from the user before we read information we need to have a place to store that information we read in for that we use variables a variable in computer science is similar to one you may have seen in math in that it represents a value in c there are many different types of variables such as integers decimal numbers and strings which hold a series of letters and characters for today s lesson we are only going to look at decimal number in c we call these number float short for a floating value number with that in mind let s take a look at our basic input statement in c float num1 std cin num1 notice the first line of our code is declaring that we will use a variable called num1 and that it is a float type variable line 2 is where we take out input and you should notice it looks very similar to our output statement but now cout has become cin and the arrows change to show that the input is being stored in the variable it is also important to note that the cin statement doesn t provide a prompt for the user so we still need to use a cout statement to tell the use what we are prompting for take a look at the example below space orbit calculator part 2 we are going to continue building our space orbit calculator for this second part you should start by copying your code from part 1 in this part you are going to create 3 variables to store the answers to the questions you created in part 1 for each of the 3 questions you created create a variable with an appropriate name and read the value in from the user here is a sample output welcome to our space orbit calculator please enter your starting orbit speed km s 7 68 please enter your desired orbit speed km s 3 07 please enter your maximum payload pounds 55000 related tutorials c basic i o in c by david burnham high school c string basics in c by david burnham high school products all products coding lms codehs pro computer science curriculum certifications professional development ai creator typing cyber range tynker codehop plans codehs pro codehs free get a quote use cases district schools teachers cte homeschool platform assignments classroom management grading data online ide integrations ai tools academic integrity curriculum course catalog project catalog k 12 pathways ap courses elementary state courses spanish courses standards hour of code practice tutorials digital textbooks ap csa hub ai curriculum digital literacy curriculum pd online pd courses in person pd workshops virtual pd workshops free pd workshops pd cohorts teacher certification prep microcredentials pd membership programming languages new sandbox program javascript python java html c sql karel resources why computer science why cybersecurity why learn ai why digital literacy back to school checklist case studies states testimonials tweets codehs blog read write code book knowledge base customer support webinars student projects career center student alumni codehs has everything ai grading differentiation elementary assessments academic integrity online ide physical computing ap courses vibe coding yes company about team careers privacy center ai center terms privacy policy security accessibility products all products coding lms codehs pro computer science curriculum certifications professional development ai creator typing cyber range tynker codehop plans codehs pro codehs free get a quote platform assignments classroom grading data online ide integrations ai tools academic integrity pd online pd courses in person pd workshops virtual pd workshops pd cohorts teacher certification prep microcredentials resources why computer science why cybersecurity why learn ai why digital literacy back to school checklist case studies states testimonials tweets codehs blog read write code book knowledge base customer support webinars student projects career center student alumni use cases district schools teachers cte homeschool curriculum course catalog project catalog ap courses elementary state courses spanish courses standards practice tutorials digital textbooks ap csa hub programming languages new sandbox program javascript python java html c sql karel codehs has everything ai grading differentiation elementary assessments academic integrity online ide physical computing ap courses vibe coding yes company about team careers privacy center ai center terms privacy policy security accessibility codehs certified educators codehs educator facebook group codehs store
|