Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salad and hotcakes #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Ethan's code..txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*****************************************************************************
* Smith Programming Academy
* 2522 Shoals Bluff Ct
* Buford, GA 30519
*
* (c) Copyright Smith Programming Academy
* ALL RIGHTS RESERVED
*
* The software, source code and information contained herein are proprietary
* to, and comprise valuable intellectual property and trade secrets of
* Smith Programming Academy. All use, disclosures and/or reproduction is prohibited
* unless authorized in writing.
*****************************************************************************/

/**
* Egg White Delight Recipe #function name
*
* @file csp_Egg White Delight McMuffin
* @author Ethan Finck
* @date 1/14/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

Egg White Delight McMuffin #function name
Variables:
(bacon)
(white cheddar)
Constants:
(egg white)
(toasted english muffin)


end #end of program

44 changes: 44 additions & 0 deletions csp_Hotcakes and sausage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*****************************************************************************
* Smith Programming Academy
* 2522 Shoals Bluff Ct
* Buford, GA 30519
*
* (c) Copyright Smith Programming Academy
* ALL RIGHTS RESERVED
*
* The software, source code and information contained herein are proprietary
* to, and comprise valuable intellectual property and trade secrets of
* Smith Programming Academy. All use, disclosures and/or reproduction is prohibited
* unless authorized in writing.
*****************************************************************************/

/**
* Hotcakesandsausage
* INPUTS none
* OUTPUTS none
*
* @file csp_Hotcakesandsausage
* @author Graham Adams
* @date 1/20/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

Hotcakesandsausagetype (hotcakes=true, syrup=true, butter=true, sausage=true)
if hotcakes==true
add three hotcakes
end
if syrup==true
add container of syrup
end
if butter==true
add container of butter
end
if sausage==true
add sausage patty
end
end #end of program

27 changes: 16 additions & 11 deletions csp_Hotcakes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,30 @@
*****************************************************************************/

/**
* Egg White Delight Recipe #function name
* Hotcakes recipe #function name
* INPUTS none
* OUTPUTS none
*
* @file csp_Egg White Delight McMuffin
* @author Ethan Finck
* @date 1/14/2017
* @file csp_Hotcakes
* @author Graham Adams
* @date 1/20/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

Egg White Delight McMuffin #function name
Variables:
(bacon)
(white cheddar)
Constants:
(egg white)
(toasted english muffin)
Hotcakestype Hotcakes (hotcakes=true, syrup=true, butter=true)
if hotcakes==true
add three hotcakes
end
if syrup==true
add container of syrup
end
if butter==true
add container of butter
end


end #end of program
Expand Down
59 changes: 46 additions & 13 deletions csp_baconranchgrilledsalad.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,59 @@
*****************************************************************************/

/**
* Egg White Delight Recipe #function name
*
* @file csp_Egg White Delight McMuffin
* @author Ethan Finck
* @date 1/14/2017
* baconranchgrilledsalad #function name
* INPUTS none
* OUTPUT none
* @file csp_baconranchgrilledsalad
* @author Graham Adams
* @date 1/20/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

Egg White Delight McMuffin #function name
Variables:
(bacon)
(white cheddar)
Constants:
(egg white)
(toasted english muffin)

baconranchgrilledsaladtype baconranchgrilledsalad (bacon=true,cheddar cheese=true, ranch dressing=true, grape tomatoes=true, carrots=true, kale=true, lettuce=true, spinach=true, romaine=true, parsley=true,garlic powder=true, salt=true, chicken=true)

if kale==true
add kale
end
if lettuce=true
add lettuce
end
if spinach=true
add spinach
end
if romaine=true
add romaine
end
if parsley=true
add parsley
end
if garlic powder==true
add garlic powder
end
if salt==true
add salt
end
if chicken==true
add chicken
end
if (bacon==true)
add bacon
end
if (cheddar cheese==true)
add cheese
end
if (ranch dressing==true)
add dressing
end
if (grape tomatoes==true)
add grape tomatoes
end
if (carrots==true)
add carrots
end
end #end of program

36 changes: 36 additions & 0 deletions csp_hashbrowns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*****************************************************************************
* Smith Programming Academy
* 2522 Shoals Bluff Ct
* Buford, GA 30519
*
* (c) Copyright Smith Programming Academy
* ALL RIGHTS RESERVED
*
* The software, source code and information contained herein are proprietary
* to, and comprise valuable intellectual property and trade secrets of
* Smith Programming Academy. All use, disclosures and/or reproduction is prohibited
* unless authorized in writing.
*****************************************************************************/

/**
* hashbrowns
* INPUTS none
* OUTPUTS none
*
* @file csp_hashbrowns
* @author Graham Adams
* @date 1/20/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

hashbrownstype (hashbrowns=true)
if hashbrowns==true
add a hashbrown
end

end #end of program

45 changes: 45 additions & 0 deletions csp_mcchicken.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*****************************************************************************
* Smith Programming Academy
* 2522 Shoals Bluff Ct
* Buford, GA 30519
*
* (c) Copyright Smith Programming Academy
* ALL RIGHTS RESERVED
*
* The software, source code and information contained herein are proprietary
* to, and comprise valuable intellectual property and trade secrets of
* Smith Programming Academy. All use, disclosures and/or reproduction is prohibited
* unless authorized in writing.
*****************************************************************************/

/**
* Mcchicken #function name
* INPUTS none
* OUTPUTS none
*
* @file csp_Mcchicken
* @author Graham Adams
* @date 2/2/2017
*/

/****************************************************************************
* Modifications:
*
*****************************************************************************/

Mcchickentype Mcchicken (Mcchicken_Patty==true, regular_bun==true, shredded_lettuce==true, mayonaise_dressing==true)
if Mcchicken_Patty==true
add Mcchicken Patty
end
if regular_bun==true
add bun
end
if shredded_lettuce==true
add lettuce
end
if mayonaise_dressing==true
add mayonaise
end

end #end of program

56 changes: 56 additions & 0 deletions if-else-end blocks homework
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
any or all could be true.

if A==true
sing
end
if B==true
dance
end
if C==true
speak
end
if D==true
bark
end
if E==true
meow
end
if F==true
moo
end
if G==true
tweet
end
if H==true
sleep
end
if I==true
wake up
end
if J==true
die
end

Only one can be true.

if A==true
sing
else if B==true
dance
else if C==true
speak
else if D==true
bark
else if E==true
meow
else if F==true
moo
else if G==true
tweet
else if H==true
sleep
else if I==true
wake up
else if J==true
die
end