Remember to mark problems clearly & obvious in your PDF and show both the source code...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Remember to mark problems clearly & obvious in your PDF and show both the source code and output, you can watch a video about this in the Modules doc which explains the format for turning in work, how to make a PDF, etc.. You don't have to include my problem text in your pdf, just label the problem and put your source code and your output. Do that for every problem. If there are multiple problems in the assignment you can put all of them in one pdf. You should watch my video- its in the Modules doc on how to turn on the hw xoxo. Sometimes you can find hint docs floating around in the Class Notes on similar problems, use the class notes as a resource xoxo Part 1 CircleArea You are going to write a program to compute and output the area of a circle with a radius of 2.5. Think through what you need to do: Create a variable for radius set it to 2.5 Create a variable for area set it to 3.14159 * radius * radius output the value of area Make sure to use existing constant for PI, and use radius squared instead of radius * radius. Part 2 Tic TacShmoe Write a program that prints out three different tic tac toe winning results. Make each one bigger than the last, separated by more spaces and lines: 100 010 001 0 0 1 010 100 Use spaces (use spaces or a \t) between the characters as the board gets bigger Use an extra line between them as the board gets bigger Show use of a and \t in your code Part 3 TriangleArea Write a program called TriangleArea, which calculates and outputs the Area of a triangle with a Base value of 3.5 and a Height value of 4.85. The formula for the area of a triangle is: 1/2 Base Height. Or (0.5 * base * height) Your program should output the correct answer. Get the base and height from the user using input method with prompt Part 4 Miles ToKilometers Write a program that will tell me the conversion of 60 miles, into kilometers. Remember that 1 mile is 1.60934 kilometers. Required: get the input from the user Required, do the example for 60 miles, and then do the example for 30 miles Part 5 MyInitials This is a sequence of output statements to display your initials (2 - 3 letters) using a cool pattern for each letter. For example, here is a simple pattern for the initials IL: || LL || LL || LL || LL || LL || LL || LL || LL LL LL LL Print your initials in a similar manner Now print a simple picture in a similar manner,, like a happy face or ...something else Part 6 Up It Write a program that asks the user to input a number. The program should then output For example, if the user inputs a 7, the program should output \-Double up is 14-\-----/-Quadruple up is 28-/ Test your program on an input of 7 Test your program on an input of 10 Make sure you use variables and not hard coded numbers Notice the funky syntax with all the decorative /\ ~ (make sure to have the same output) Remember to mark problems clearly & obvious in your PDF and show both the source code and output, you can watch a video about this in the Modules doc which explains the format for turning in work, how to make a PDF, etc.. You don't have to include my problem text in your pdf, just label the problem and put your source code and your output. Do that for every problem. If there are multiple problems in the assignment you can put all of them in one pdf. You should watch my video- its in the Modules doc on how to turn on the hw xoxo. Sometimes you can find hint docs floating around in the Class Notes on similar problems, use the class notes as a resource xoxo Part 1 CircleArea You are going to write a program to compute and output the area of a circle with a radius of 2.5. Think through what you need to do: Create a variable for radius set it to 2.5 Create a variable for area set it to 3.14159 * radius * radius output the value of area Make sure to use existing constant for PI, and use radius squared instead of radius * radius. Part 2 Tic TacShmoe Write a program that prints out three different tic tac toe winning results. Make each one bigger than the last, separated by more spaces and lines: 100 010 001 0 0 1 010 100 Use spaces (use spaces or a \t) between the characters as the board gets bigger Use an extra line between them as the board gets bigger Show use of a and \t in your code Part 3 TriangleArea Write a program called TriangleArea, which calculates and outputs the Area of a triangle with a Base value of 3.5 and a Height value of 4.85. The formula for the area of a triangle is: 1/2 Base Height. Or (0.5 * base * height) Your program should output the correct answer. Get the base and height from the user using input method with prompt Part 4 Miles ToKilometers Write a program that will tell me the conversion of 60 miles, into kilometers. Remember that 1 mile is 1.60934 kilometers. Required: get the input from the user Required, do the example for 60 miles, and then do the example for 30 miles Part 5 MyInitials This is a sequence of output statements to display your initials (2 - 3 letters) using a cool pattern for each letter. For example, here is a simple pattern for the initials IL: || LL || LL || LL || LL || LL || LL || LL || LL LL LL LL Print your initials in a similar manner Now print a simple picture in a similar manner,, like a happy face or ...something else Part 6 Up It Write a program that asks the user to input a number. The program should then output For example, if the user inputs a 7, the program should output \-Double up is 14-\-----/-Quadruple up is 28-/ Test your program on an input of 7 Test your program on an input of 10 Make sure you use variables and not hard coded numbers Notice the funky syntax with all the decorative /\ ~ (make sure to have the same output)
Expert Answer:
Related Book For
Operations Management
ISBN: 9781260547610
2nd International Edition
Authors: Gerard Cachon, Christian Terwiesch
Posted Date:
Students also viewed these algorithms questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
In Problems 25 54, solve each system. Use any method you wish. 2xxy + y = 8 xy = 4
-
Cedar Falls Co. has a subsidiary in Brazil, where local interest rates are high. It considers borrowing dollars and hedging the exchange rate risk by selling the Brazilian real forward in exchange...
-
Identify whether each of the following compounds is expected to be water soluble: (a) (b) (c) -NH2 -NH2
-
This case arose after Felix DeWeldon, a well-known sculptor and art collector, sold three paintings to Robert McKean in 1994. Felix DeWeldon declared bankruptcy in 1991. In 1992, DeWeldon, Ltd.,...
-
Kalinas Doll Company produces handmade dolls. The standard amount of time spent on each doll is 2.0 hours. The standard cost of labor is $10 per hour. The company planned to make 8,000 dolls during...
-
Find the two unknown sides in this triangle. Keep 4 significant digits. x+3.10m -240m-x 5.21m
-
The following selected transactions were taken from the books of Ripley Company for Year 1: 1. On February 1, Year 1, borrowed $70,000 cash from the local bank. The note had a 6 percent interest rate...
-
minimum of one hundred and fifty words, = "...The American economy was caught in transition on the eve of the Civil War. What had been an almost purely agricultural economy in 1800 was in the first...
-
You are assessing the shoulder joint kinetics in order to design an artificial joint. Answer the questions (a)-(d). FAI W D Wc Point coordinates (cm): A(10,5); B(10,2); C(6,0); D(12,-10) Bone mass...
-
For this discussion, your focus will be to think through what asymmetric information, moral hazard, and adverse selection have to do with corporate hiring staff accountants. As we saw in the week 7...
-
Assume you deposit $1 in an account that is growing at an annual effective interest rate in year n equal to in. Prove: (a) If in = 1 then the amount in the account will grow without bound. n 1 (b) If...
-
Financial Option 3: $30 Million Investment in Bonds Rationale for investment: The business that's offering these bonds for sale contracts with another business in China to assemble computer...
-
Project Finance loan structures cannot solve remittances concerns. This statement is: a. True. b. False. If true, explain with an example? If false explain with an example?
-
What mass of KBr (in grams) should you use to make 350.0 mL of a 1.30 M KBr solution?
-
Keuka Studies does custom metal sculptures of horses and other animals. A horse sculpture is composed of numerous parts. They use a lathe to construct two types of parts. The Body part is used to...
-
A delivery truck from a food wholesaler has just delivered fresh meat and produce to a local restaurant. This meat and produce would be categorized as which type of inventory by the restaurant? a....
-
Below are a number of slogans used for advertisement. Which dimensions of customer utility do the slogans emphasize? a. We build lenses uniquely to the needs of your eyes. b. Get your burger in 1...
-
Discuss how a new brand manufacturer would go about defining their market segments and then begin to target them.
-
Go to www.kellogs.com, and examine the brands offered by Kelloggs. Using the BCG growth-share matrix, classify 10 brands as stars, question marks, cash cows, or dogs. Find at least one product you...
-
Diff Eyewear is a successful business built around a socially conscious mission. The company makes and sells stylish eyewear with comparable quality but a significantly lower price than luxury...
Study smarter with the SolutionInn App