Answer:
//here is code in c++.
#include <bits/stdc++.h>
using namespace std;
int main()
{
// variable
int temp;
cout<<"Please enter the temperature:";
//read temperature from user
cin>>temp;
int n;
// reduce the case for switch
n=temp/10;
// print output according to the switch case
switch (n) {
case 7:
case 6:
cout<<"tennis"<<endl;
break;
case 5:
case 4:
cout<<"golf"<<endl;
break;
default:
if(temp>=80)
cout<<"swimming"<<endl;
else
cout<<"skiing"<<endl;
break;
}
return 0;
}
Explanation:
Read the value of temperature from user and assign it to variable "temp".
Calculate n=temp/10, to limit the number of cases in the switch statement.
if temperature is greater or equal 60 & less than 80, it will print "tennis".
If temperature is greater or equal 40 & less than 60, it will print "golf".
in default case, if temperature is greater than 80, it will print "swimming".
if less than 40, print "skiing".
Output:
Please enter the temperature::67
tennis
Universal Resource Locator<span>It's not on your computer. URL stands for Universal Resource Locator, and has come to mean Web address more or less. hope it works</span>
Answer:
The control loop responds to
the overcharged VOUT with a skipped pulse to
regulate VOUT to the correct DC voltage. Other
converters may respond differently when the
minimum on-time is violated. For example, the
fSW may begin to decrease or VOUT may become
regulated to a higher voltage
Explanation:
If you are trying to make a loop run a certain number of time in Python, then...
To repeat something a certain number of times, you may:
1. Use range or xrange for i in range(n): # do something here.
2. Use while i = 0 while i < n: # do something here i += 1.
3. If the loop variable i is irrelevant, you may use _ instead for _ in range(n): # do something here _ = 0 while _ < n # do something here _ += 1.
You filter yourself and the world surrounding you? Is there more to this question?
A cisco develops, manufactures and sells networking hardware, software, telecommunications equipment and other high-technology services and products. ... They pioneered the concept of a local area network (LAN) being used to connect geographically disparate computers over a multiprotocol router system.
Hope that helps.