Write a program that initializes a variable with the value 75 to represent the temperature in...
Fantastic news! We've Found the answer you've been seeking!
Question:
![](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2023/09/64f1c6a7de912_1693566629222.jpg)
Transcribed Image Text:
Write a program that initializes a variable with the value 75 to represent the temperature in Fahrenheit. Then convert that value into Celsius by using the formula f = 32 + 1.8 c where f is Fahrenheit and c is Celsius. Print the corresponding Celsius value: B) Write a program that asks the user's name and then age. Use appropriate variable names to store these variables. Calculate how old the user will be in 2047 years. For example, if the user enters Tony and 20, the program should print Hi Tony! In 2047 you will be 44! ** Additional features are welcome, remember to write comments in your programs, Name of your program submitted are SAxxxxxxxx.py(or .ipynb) and SBxxxxxxxx.py(or.ipynb) where XXXXXXXX is your student number. ANY special finding from your work? Write a program that initializes a variable with the value 75 to represent the temperature in Fahrenheit. Then convert that value into Celsius by using the formula f = 32 + 1.8 c where f is Fahrenheit and c is Celsius. Print the corresponding Celsius value: B) Write a program that asks the user's name and then age. Use appropriate variable names to store these variables. Calculate how old the user will be in 2047 years. For example, if the user enters Tony and 20, the program should print Hi Tony! In 2047 you will be 44! ** Additional features are welcome, remember to write comments in your programs, Name of your program submitted are SAxxxxxxxx.py(or .ipynb) and SBxxxxxxxx.py(or.ipynb) where XXXXXXXX is your student number. ANY special finding from your work?
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
PAIBOC Questions and analysis Scenario: Seneca has decided to hold a health promotion day for students and faculty next month. In preparation for this event, Seneca students are invited to share...
-
The organizing committee for the HCC Celebrates Columbia's 50th Birthday, Inc., has planned a special event commemorating notable people originally from Columbia, MD. The committee has invited the...
-
How do you explain the current event you have chosen using Structural Functionalism, Conflict Theory and Symbolic Interactionism?
-
The following items were shown on the balance sheet of Martin Corporation on December 31, 2021: Stockholders' Equity Paid-In Capital Capital Stock Common stock, $5 par value, 750,000 shares...
-
Find the value of the standard score, z, and determine whether the alternative hypothesis is supported at a 0.05 significance level. H a : x < 75, n = 36, x = 72, a = 15.
-
What are the advantages and disadvantages of the equal weighting approach and the market cap weighting approach for portfolio allocation strategy?
-
4. For a company with a new product, how can you estimate its potential market share?
-
Assume that your father is now 50 years old, that he plans to retire in 10 years, and that he expect to live for 25 years after he retires- that is, until age 85. He wants his first retirement...
-
All of the following are examples of internal control procedures except
-
The manager of a commuter rail transportation system was recently asked by her governing board to determine which factors have a significant impact on the demand for rides in the large city served by...
-
Decide if the following statements are true or false, please share the justifications. iv) In the simple linear regression model there are 4 parameters to be estimated. v) If in a simple linear...
-
Given forecast errors of 4, 8, and -3, what is the MAD? What is the MSE?
-
Padgett Rentals can purchase a van that costs \($48,000\) ; it has an expected useful life of three years and no salvage value. Padgett uses straight-line depreciation. Expected revenue is...
-
Rainwater Corp. expects to sell 600 umbrellas in May and 400 in June. Each umbrella sells for \($15\). Rainwaters beginning and ending finished goods inventories for May are 75 and 50 units,...
-
Don Moon is the owner of ABC Cleaning. At the beginning of the year, Moon had \(\$ 2,400\) in inventory. During the year, Moon purchased inventory that cost \(\$ 13,000\). At the end of the year,...
-
Agua Ole is a distributor of bottled water. For each of items a through c, compute the amount of cash receipts or payments Agua Ol will budget for September. The solution to one item may depend on...
-
When borrower has incentives to engage in undesirable activities making it more likely that won't pay loan back, this situation indicates Moral Hazard problem B) Adverse selection High transaction...
-
The power company must generate 100 kW in order to supply an industrial load with 94 kW through a transmission line with 0.09 resistance. If the load power factor is 0.83 lagging, find the...
-
When a subclass is created based on an existing class, the original class is called the _____ or _____ and the new class is called the _____ or _____.
-
If Name = "John", then Name >= "JOHN". True or False
-
Write a program segment that displays the number of letters in the persons first name. An array has been declared by the following: Declare FullName[25] As Character and contains a persons first and...
-
Preparation of a statement of financial position and statement of profit or loss and other comprehensive income LO3, 4 The summarised general ledger trial balance of Ryan Ltd, a spare parts...
-
Preparation of a statement of financial position, statement of profit or loss and other comprehensive income and statement of changes in equity LO3, 4, 5 The summarised general ledger trial...
-
Preparation of a statement of financial position, statement of profit or loss and other comprehensive income and statement of changes in equity LO3, 4, 5 The summarised general ledger trial...
![Mobile App Logo](https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png)
Study smarter with the SolutionInn App