Answer:
Explanation:
public class Temperature
{
double ftemp;
public int Constructor(double fahrenheit)
{
ftemp = fahrenheit;
return Convert.ToInt32(ftemp);
}
public void setFahrenheit(double fahrenheit)
{
ftemp = fahrenheit;
}
public void getFahrenheit()
{
ftemp = Constructor(ftemp);
}
public void getCelcius()
{
ftemp = (ftemp - 32) * 5 / 9;
}
public void getKelvin()
{
ftemp = (ftemp - 32) * 5 / 9 + 273.15;
}
}
Answer:
n=5
Explanation:
if n= 5
i. n/5=5/5=1 so it divides completely the remainder is 0
ii. 97 - 6(5) = 97 - 30 = 67, 67 is a prime number.
Answer:
Option 2: Variable names can not begin with a number.
Explanation:
As given Mark and John named a variable as 24_hour_mart while writing a program in python.
While it is forbidden to name a variable starting with any digit, only alphabets (capital and smaller) and underscore can be the first letter of the variable name.
Moreover, by considering the other options given:
- Variable name can include the underscore (_) between the words. It is used instead of spaces that are not allowed.
- There is no upper limit for variable length, it can be of any reasonable length and more than 10 characters say 11 or 12 are reasonable.
- There is no lower limit for variable length, it can be any reasonable length , even it can be of 1 character.
Variables named in python language must not be the keywords as they are reserved for other purposes.
i hope it will help you!
Since you have not provided the choices wherein I will have to choose from to arrive at an answer, I will just explain to you the concept revolving around a hosted blog software. Hosted blog software are basically installed by the owner of the web server in which among its famous platforms is the Blogger.
Answer:
18, 13, 19
Explanation:
Number of computer programmers proficient only in Java = 45 - ( 1+1+6) = 37
Number of computer programmers proficient only in C++ = 30 - (6+1+5) = 18
Number of computer programmers proficient only in python = 20 - ( 1+1+5) = 13
Number of computer programmers are not proficient in any of these three languages = 100 - ( 37 + 18 + 13 + 1+ 1+ 5+ 6 ) = 100 - 81 = 19