Answer:
JavaScript can be implemented using JavaScript statements that are placed within the ... HTML tag
Explanation:
<span>If a attachment is not reliable to open, terrible effects can happen, peradventure it may have a virus or even malware that can destroy a computers software.
To avoid this and stay on the safe side, try the following:-
- Open it in protected view
- Do not save the attachment on your computer
- Look at the author and read the message carefully to make sure it is not biased.
- Open it on a flash-drive </span>
Answer:
// program in C++.
// headres
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// array
int temperatures[7];
// count variable
int count=0;
cout<<"Enter the temperature of all days:";
for(int a=0;a<7;a++)
{
// read temperature of 7 days
cin>>temperatures[a];
// find temperature is extreme or not
if(temperatures[a]<-10||temperatures[a]>25)
// count
count++;
}
// print count of extreme temperature
cout<<"number of days of extreme temperature:"<<count<<endl;
return 0;
}
Explanation:
Create an array of size 7 to store the temperature of all days of week.Read the temperature of each day.If the temperature is less than -10 or greater than 25 then increment the count.This will count the number of days of extreme temperature.Print the count.
Output:
Enter the temperature of all days:-20 12 18 30 32 -15 15
number of days of extreme temperature:4
Answer:
A goal of procedural programming
An advantage of object oriented programming
A disadvantage of object oriented programming
A drawback of procedural programming