Answer:
<h2>Following are the java script code for the above question. </h2>
Explanation:
Program :
var percentage= prompt("Enter the percentage of the student"); // take the input from the user.
if(percentage>=90)//check condition for greator than 90.
alert("your grade is \"A\"");
else if(percentage>=80) // check condition for 80 and 89.
alert("your grade is \"B\"");
else if(percentage>=70) // check condition for 70 and 79.
alert("your grade is \"C\"");
else if(percentage>=60) // check condition for 60 and 69.
alert("your grade is \"D\"");
else // check condition for less than 60.
alert("your grade is \"F\"");
Output:
- If the user input 60, it will prints D.
- If the user inputs 59, it will prints f.
Code Explanation:
- The above code is in a javascript language, In which the first line is used to display the message and take the input from the user in the alert box.
- Then the percentage is checked by the help of in if, else if and else statement and print the grade.
- Then the grade is printed with the help of an alert box.
The statement about digital cameras often having trouble with auto white balance which can result in unattractive blue, orange or green casts is; A: True.
Let us first define white balance(WB).
White balance is defined as the process of removing unrealistic color casts, in a way that will make the objects that appear to be white in person to also be appear white in the photo.
Now, for a camera to have the right white balance, it will have to consider the "color temperature" of a light source i.e the relative warmth of white light.
Finally humans eyes are very good at judging which is white under different light intensities or sources, but that is not the case with digital cameras because they struggle with auto white balance and that could lead to different colors like unattractive blue, orange, or even green color casts.
Read more about Camera pictures at; brainly.com/question/22862481