Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var aux=0;
- for ( var i = 0; i < temp.length; i++ ) {
- if (temp[i] > 28){
- aux += 1;
- }
- }
- document.write("<br>Se tem <u>"+aux+"</u> temperaturas superiores a 28.0");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement