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:
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...
-
Conventional and Dollar-Value LIFO Retail As of January 1, 2010, Aristotle Inc. installed the retail method of accounting for its merchandise inventory. To prepare the store's financial statements at...
-
A company has installed 3288 flow meters throughout an extensive sewer system. Unknown to the company, 592 of these meters are operating outside acceptable tolerance limits, whereas the other 2696...
-
A \(2000-\mathrm{kg}\) car burns gasoline with \(25 \%\) efficiency. Accelerating from rest, how fast would this car go upon burning \(0.040 \mathrm{~L}\) of gasoline if \(1.0 \mathrm{~L}\) of...
-
Based in Italy, Datura, Ltd., is an international importer-exporter of pottery with distribution centers in the United States, Europe, and Australia. The company was very successful in its early...
-
For a particular Java assembler interface, it is known that the operand stack size has the following probability distribution function: 0 1 2 3 4 . 2 5 . 2 0 . 1 8 . 1 7 . 2 0 What is the Expected...
-
9. Write the static method hidePicture that takes two pictures (source and secret) and hides the secret in source using the algorithm previously discussed, returning the new picture. Add code to main...
-
Wordle is an online game in which players guess the word of the day in six attempts or fewer. Aida and Brecht record the time and the number of guesses it takes them to complete the game each day to...
-
Use one of the scenarios in the previous exercise to practice facilitating and participating in a meeting. You may do this in person or online. Have each person assume the role of another...
-
To summarize the meeting for your colleagues in the previous scenario, write up the meeting minutes. Each of you in the group should prepare the minutes separately. Then, as a group, compare your...
-
For an upcoming interview (or from your research completed in Exercise 1), prepare a list of questions you might ask. You may not have the time to ask everything but prepare at least ten questions,...
-
Three main modules included in the Apache NetBeans IDE are . a. JEUS 7 application server, JBoss Application Server 6, Caucho Resin 4.0 b. Java EE, Java SE, Maven c. NetBeans Profiler, GUI design...
-
The just works as a view for the GlassFish application server and sets up a connection between the application server and the Session Bean in the Web tier. a. Java EE 8 b. Enterprise Java Beans c....
-
The formula for ammonium sulfate is a. NH4(SO4)2 b. NH4SO4 c. (NH4)2(SO4)2 d. (NH4)2SO4
-
Match each of the key terms with the definition that best fits it. _______________ A record of the sequence of data entries and the date of those entries. Here are the key terms from the chapter. 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...
-
A project under consideration has a 10-year projected life. The initial investment for the project is estimated to have a mean of \(\$ 10,000\) and a standard deviation of \(\$ 1,000\). The annual...
-
True or False: In determining the optimum replacement interval, it is necessary to assume negligible salvage values.
-
Match the terms in the first column with an appropriate definition from the second column. Terms (a) Breakeven analysis (b) Sensitivity analysis (c) Risk analysis Definitions (1) Determining how the...
Study smarter with the SolutionInn App