Skip to content

mahamdaoud/BasicCalculatorUsingScratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

BasicCalculator

This program is created using Scratch. It will perform simple calculations. Like Addition, Subtraction, Multiplication, and Division.

Hello Everyone!

This is my CS50 Problem set 0. This Project is created by using Scratch. In this project, I selected two sprites and there is a little bit of conversation between the two sprites, one spirit will perform some basic calculations for the other, like Addition, Subtraction, Multiplication, and division. I created a simple calculator using scratch. In this project, I used conditional statements, loops, and variables. I also created my own block that will do calculations.

It's my start and I am learning new things and hope to create more interesting repos for others.

How does it work?

Simply download the file onto your computer and then open it with a scratch in your computer. If you don't have scratch download it from the internet.

  1. Press the Green Flag at the top of the screen.
  2. First, the sprite will say Hello! and ask your name.
  3. Type your name in the box that appears.
  4. The other sprite says Hi! and tells the name.
  5. The First sprite asks the second sprite Do you know maths?
  6. If the answer is "Yes" Write your answer and press enter and press any key.
  7. There will be some kind of music. And Sprite 2 will ask What would you like to do +,-,*/?
  8. You are going to enter the desired operation. Then it will ask about the First and Second numbers.
  9. You are going to add the First and Second numbers and then the selected operation will be performed on the numbers
  10. And this process continues.
  11. If you want to exit you can press the red button at the top to stop the game.
  12. If the answer to the first question is "No". then the game ends and you have to replay it.

About

This program is created using scratch. It will perform simple calculations. Like Addition, Subtraction, Multiplication and Division.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors