Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with my Lab for ECE. The Programming langauge used here is C/C++ I a

ID: 3757966 • Letter: I

Question

I need help with my Lab for ECE. The Programming langauge used here is C/C++

I also need help answering the following questions:

es -> https://k-state.instructure.com/courses/107 17/files/folder/Lab%2520Assignments?preview= 1250844 Lab7.pdf Download Info Close box 3/4 The number in TempBits can be translated into a Celsius temperature realizing the 0 in TempBits, is 0 degrees Celsius, and each bit represents 0.25 degrees Celsius Program Structure for Arduindo float ReadTemperature0 Set CS LOW Read two bytes over SPI Set CS HIGH convert to temperature return temperature SetUp Set CS as an output Configure SPI hardware Configure Serial Loop if 1000 milliseconds have passed, /NOTE THIS IS A CHANGE ReadTemperature0): Transmit temperature over Serial / BlueTooth en 3:04 AM 10/29/2015

Explanation / Answer


#include<stdio.h>
int main() {
   float celsius, fahrenheit;
   printf(" Enter temp in Celsius : ");
   scanf("%f", &celsius);
   fahrenheit = (1.8 * celsius) + 32;
   printf(" Temperature in Fahrenheit : %f ", fahrenheit);
   return (0);
}

output:

Enter temp in Celsius : 32

Temperature in Fahrenheit : 89.59998

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote