Aggeluska Δημοσ. 6 Νοεμβρίου 2012 Δημοσ. 6 Νοεμβρίου 2012 καλησπερα παιδια , μας εχουνε βαλει το εξης προβλημα στην σχολη . και μου φαινεται ψιλο δυσκολο . θα ηθελα αν μπορειται να με βοηθησετε . δειτε το λοιπον . Lab Assignment 2.1: Write a main program which reads a sequence of four real numbers (data type float) on one line from the keyboard. The parameters (four per line) are 1. (current) temperature in degrees Celsius, 2. (current) direction of wind in degrees (0 degree represents „NORTH“), 3. (current) wind speed in km/h 4. (current) wind chill in km/h The end of the sequence from the keyboard is recognized by the first character which is not a number (e.g. a letter). You don’t have to (and must not …) use an array for the values entered from the keyboard because the number of values is not known in advance. For the numbers entered, the program must calculate and display after each new set of values (see 1-4): 1 how many real numbers were read, 2 the maxima of temperature, wind speed and wind chill 3 the minima of temperature, wind speed and wind chill 4 the mean value of temperature, wind speed, wind chill and wind direction 5 the mean square deviation (standard deviation) of temperature, wind speed, wind chill and wind direction απο οτι εχω καταλαβει πρεπει να φτιαξω ενα προγραμμα που να βαζεις εσυ 4 τιμες και μετα αυτο να κανει λουπα καθε φορα και μετα απο καθε λουπα να συκρινει τις τιμες . τις μεγαλυτερεσ και τις μικροτερες . και οταν δινω εναν γραμμα η ακολουθεια πρεπει να σταματαει. αλλα δεν ξερω πρωτων αν ειμαι σωστος και δευετρος να το υλοποιησω. αν μπορειται βοηθιστε
ipduh Δημοσ. 7 Νοεμβρίου 2012 Δημοσ. 7 Νοεμβρίου 2012 http://www.insomnia.gr/topic/464461-%CF%80%CF%81%CE%BF%CE%B3%CF%81%CE%B1%CE%BC%CE%BC%CE%B1-%CE%B5%CF%81%CE%B3%CE%B1%CF%83%CE%B9%CE%B1-%CF%83%CE%B5-c/
Προτεινόμενες αναρτήσεις
Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε
Πρέπει να είστε μέλος για να αφήσετε σχόλιο
Δημιουργία λογαριασμού
Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!
Δημιουργία νέου λογαριασμούΣύνδεση
Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.
Συνδεθείτε τώρα