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

pseudocode-Zoriana #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
32 changes: 32 additions & 0 deletions class-1-pseudocode/pseudocode-Zoriana.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
sandwich
go to the kitchen
open the fridge
if all the ingredients are there (burger, lettuce, onion, cheese and bread )
then start making your sandwich

else go to the market and buy them

place the bread on the table
put the ingredients on it
prepare the tomato sauce
look for olive oil to start frying the burger
if it is there, then pick it up
complete frying, put the ingredients between two halfs of bread

bon apetite

N is the user input
if N is devisible by 2
print N
else
continue

N is the user input
i=2
as long as i is less than N
devide N by i
if i is devisible by i
break
i+1
if i=N
print N