Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The first set of inputs is the user's age ( in whole number years ) and name ( first and last ) , in that
The first set of inputs is the user's age in whole number years and name first and last in that order, each on its own separate line, following its prompt. The second set of inputs is the current outside temperature in floating point degrees F and the user's location city in that order, each on its own separate line, following its prompt. For example, with usertyped input bolded:
Enter your age:
Enter your name: Joe Student Enter the temperature outside right now What city are you in right now? San Ram
After both sets are read in calculate two values: the user's age two years from now, and the temperature in degrees Finally, print the input values and the two calculated values in the following line format, spaced and punctuated per the example:
Joe Student is years old now, and wi It's degrees in San Ramon
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started