Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Open Visual Studio and create an empty project and name it 'InLab 0 2 ' , make sure the save location is set to your
Open Visual Studio and create an empty project and name it 'InLab make sure the save location is set to your Home drive W: in CNIT InLabs folder or in your appropriate folder directory.
Add a new item to the Source Files folder in the Solution Explorer and name the file 'InLabc
Type the code using the template provided earlier
Declare the following variables, with proper data types and meaningful names:
a The number of students an integer Name it 'numStudents'.
b The price of a textbook a floatingpoint number Name it price'
c Today's temperature in Fahrenheit a floatingpoint number Name it 'tempF'.
d Today's temperature in Celsius a floatingpoint number Name it 'tempC'.
e The distance a car has moved a floatingpoint number Name it 'distance'.
f The time it has traveled a floatingpoint number Name it 'time'.
g The speed of the car a floatingpoint number Name it 'speed'.
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