How did systemic risk contributed to the financial crisis of 2008?
Write an application for a furniture company; the program determines the price of a table. Ask the user to choose 1 for pine, 2 for oak, or 3 for mahogany. The output is the name of the wood chosen as well as the price of the table. Pine tables cost R 100, oak tables cost R 225, and mahogany tables cost R 310. If the user entered an invalid wood code, set the price to 0 and allow the user to select an option up to 3 times . Save the file as Furniture.java. Marks allocation 1. Presentation of a menu - 10 Select an option 1. for pine 2. for oak 3. for mahogany 2. use of a loop - 10 3. Use of an if statement/ switch - 10 4. correct output -10
What does doing mathematics mean?
Repeated Numbers
Eren wants to decode a number.After lots of trial and error, he finally figured out that the number is a count of repeated single-digit integers.
Write a program to help Eren print the decoded number given a string of integers N.
Input
The first line contains a string of integers N.
Output
The output contains a single integer representing count of repeated numbers in the input.
Explanation
For N = 212311 ,
1 and 2 are repeated.Therefore, the output is 2.
Sample Input1
212311
Sample Output1
2
Sample Input2
111
Sample Output2
1
trace the curve (x^2+y^2)x=2x62+y^2
A cheetah is running at 100. km/hr directly after an antelope which is running at 90.0 km/hr. Assuming both animals run in a straight line, and the antelope is 10.0 m ahead, how long will it take for the cheetah to catch the antelope?
This program will write a series of letters, starting with 'A', to an external file (letters.txt). The user will decide how many letters in total get saved to the file.
** IMPORTANT: The test cases will evaluate your code against .txt files that I uploaded. You do NOT have to upload your own txt files.
Input:
Including 'A', how many total letters would you like to store? [user types: 26]
Output (in the file, not in the console window)
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
This program will read a bunch of numbers from an external file (numbers.txt) and calculate their total and average. In addition, the total will be multiplied by an integer that is supplied by the user.
** IMPORTANT: The numbers are included in your starter code as a separate file (numbers.txt). Don't touch that file! All of your code should be placed in code.cpp, as usual. **
Input:
After all numbers are read, what number would you like to multiply the total by? [user types: 2]
Output:
Total = 1717
Average = 50.5
Total * 2 = 3434
10. A supercritical power generates steam at 25 Mpa and 560℃. The condenser pressure is 7 kpa. Determine
the exit quality of steam if it expands through a turbine in this power plant.
9. Steam enters a turbine at 1.4 Mpa and 320℃. The turbine internal efficiency is 70%, and the total requirement is 800 kw. The exhaust is to the back pressure system, maintains at 175kpa. Find the stean flow rate.