Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 1 This assignment may done with a partner but each student should submit the assignment individually. Write the algorithms in Word. Save them in

Assignment 1
This assignment may done with a partner but each student should submit the assignment individually. Write the algorithms in Word. Save them in a file with your name in the filename and submit it on Blackboard.
Write the algorithm to solve the following problems:
1. Make scrambled eggs.
2. Get three numbers and display the number with the highest value. For example: if the user enters the numbers 4,10, and 6, the program would produce the output 10. Each time the program ran, the user would enter different numbers and the answer would be different.
3. Display the cost of landscaping a backyard with sod that is sold by the square foot and fencing that is sold by the foot. The input will be the length and width of the backyard, the price of sod per square foot and the price of fencing per foot.
4. Decide what activity is most appropriate based on the temperature. If the temperature is greater than 80 degrees, then display the message "Go swimming." If the temperature is between 60 and 80 degrees, display the message "Go biking." If the temperature is less than 60 degrees, display the message "Go for a walk." The input will be the temperature.
5. Display the message, Hi, Mom!200 times.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Visualization A Practical Introduction

Authors: Kieran Healy

1st Edition

0691181624, 978-0691181622

More Books

Students also viewed these Databases questions