$500- Currency
10th January 2015- Date/time
56,654.09- Number
Sample.1234- Text
This for the algorithm of a sphere:
Define the radius of the sphere.
Define the pie and assign (22/7)
Calculate the volume of the sphere as (4/3)*pie*r3
Assign the volume of the sphere to volume_of_sphere.
Print the volume of the sphere.
Answer:
- Surge suppressor.
- Magnets.
- cool
- air
- power.
Explanation:
A surge suppressor is used to prevent electronic equipment from power fluctuations.
Magnets affects the older storage technology such as floppy disks as they use magnetic tapes.Magnets affect the newer systems because they uses the solid state technology.
Components such as fans,cooling liquids are used to keep the components from overheating.
Compressed air can blows air with very high velocity hence it cleans the dirt on the desk.
The full form of UPS is Uninterruptible Power Supply.
Answer:
He can increase the size of the slide.
He can change the orientation of the slide.
He can decrease the size of the font of the text.
Explanation:
Just did the question.
import sys
number = int (input ("Enter a number between 1 to 100 : "))
x = 0
y = 0
if number == 0:
sys.exit()
if number > 50:
print("Increment x value")
x=x+1
else:
print("Increment y value")
y=y+1
if x > y:
print("Most of your numbers are greater than 50")
else
print("Most of your numbers are less than or equals to 50")
Explanation:
In this algorithm the User is asked to input the number.
If the input number is 0 then the user will exit the algorithm
If the input number is greater than 50 then X variable is incremented by 1
If the input number is less than 50 then the variable Y is incremented by 1
Then X and Y values are compared,if the value of x is greater than y then
and print command will print Most of your numbers are greater than 50
If the value of Y is greater than X then print command will print Most of your numbers are less than or equal to 50