![]() ![]() Print the numbers 1 to 100 inclusive with a for loop.Print the numbers 1 to 100 inclusive- with a while loop.Simple (Perhaps slightly more difficult!) Problems #2 Write an algorithm to solve this problem. The automatic barrier will prevent display appropriate full messages if the spaces are taken. Input 3 numbers, and print the biggest.Īnother car park has 200 places for cars and 30 for motorcyles. ![]() Input 3 numbers and print either an "all 3 equal" or a "not all equal" message.Produce an error message if the length is negative. Input the length of the side of a square, and print its area.Input the dimensions of a rectangle and print area and perimeter.Input the dimensions of a rectangle and print its area.Your pseudocode needs to be able to calculate the final price that a customer will pay, including GST. For example, the price of hard drives (excluing GST) is discounted as follows The car park has 110 places.Īn online computer parts retailer has a discount scheme if customers buy multiple items of a part in the same order. Write an algorithm that will display this message. We will not need to remember everything we learn at this point as we will be visiting these concepts several times.Įssential Questions Produce pseudocode to solve the following problems:Ī car park has an entry barrier and displays a “Car Park Full” message when all the spaces have been taken. We are going to look at this in a little more detail now. Most of us probably think we already know what computer programming is. Greenfoot is freely available for you to download and install on your own computer. The Greenfoot website is a rich source of more information on all things Greenfoot! Greenfoot will allow you to learn simple Java in a way that will interest and motivate you. Java is a very common programming language that is used worldwide to make computer programs and also in internet-based technologies. It can be tricky, and you will have to concentrate and learn from your mistakes, but Greenfoot will help you understand the concepts of computer programming. Greenfoot uses the Java programming language as a base to enable simple games to be created.Ĭomputer programming is often thought of as difficult to learn. In particular, Greenfoot has been specially designed for young programmers aged 13 years and up. Greenfoot is an environment for computer programming. * Understand why Greenfoot is great for beginning programmers Objectives * Understand what Greenfoot is 6.13.2 Solution to the solar water heater problem.6.13.1.2 Questions - how to write the pseudocode - if you get stuck on any point, move on to the next. ![]() The temperature sensors are shown in green, one in the collector and one in the tank.Scenario and Background Information
0 Comments
Leave a Reply. |