
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An algorithm written in pseudocode that converts temperatures from fahrenheit to celsius. The algorithm prompts the user to input a temperature in fahrenheit, and then calculates and displays the corresponding temperature in celsius. It also keeps track of the number of non-functional sensors encountered during the process. The algorithm continues to run until the user enters a special 'sentinel' value, at which point it terminates and displays the total number of non-functional sensors. This document could be useful for students studying programming, algorithms, or temperature conversion techniques in computer science or physics courses. It provides a clear and concise example of how to implement a simple temperature conversion algorithm using basic programming constructs.
Typology: Thesis
1 / 1
This page cannot be seen from the preview
Don't miss anything!

fconst var
sensors_no_funcionals : enter
fi ←fals mentre no (fi) escriure ( “Introdueix una temperatura ( fahrenheit ) llegir ( temperatura_en_fahrenheit )
fi ← cert sino