1:
Write a program that receives the user's Age and Gender (female=f, male=m) , then :
- If the user age is less than or equal 14 and he is male , prints: (You are a Boy Child)
- If the user age is less than or equal 14 and she is female , prints: (You are a Girl Child)
- If 14 < the user age <=24 and he is male , prints: (You are a Young Man)
- If 14 < the user age <=24 and she is female , prints: (You are a Young Woman)
- If 24 < the user age <=64 and he is male , prints: (You are an Adult Man)
- If 24 < the user age <=64 and she is female , prints: (You are an Adult Woman)
- If the user age is greater than 64 and he is male , prints: (You are a Senior Man)
- If the user age is greater than 64 and she is female , prints: (You are a Senior Woman)
.............
2:
Write a program that works as ( Temperature Converter) . this program receive the temperature from the user and its unit (Fahrenheit=f , Celsius=c).
- If the unit is f(Fahrenheit) convert from Fahrenheit to Celsius .
o ºC = (ºF - 32) / 1.8 = 23
- If the unit is c(Celsius) convert from Celsius to Fahrenheit .
o ºF= (ºC x 1.8) +32