Answer:
3.85 out of 4
Explanation:
As 96.1791 out of 100 gives 96.1791% calculated below:
Percentage formula: (Obtained value/total value)*100.......eq(1)
Putting values:
= (96.1791/100)*100
= 96.1791%
Now finding 96.1791% of 4:
Putting values in eq (1):
96.1791% = (Obtained value/4)*100
96.1791/100= (Obtained value/4) (dividing by 100 on both sides)
0.961791 = (Obtained value/4)
4* 0.961791 = Obtained value (multiplying 4 on both sides)
3.847164 = Obtained value
Then 96.1791% of 4 will be equal to: 0.961791 * 4 = 3.847164
Rounding off the answer to 2 decimal places:
=3.85 (As the digit on 3rd decimal place is greater than 5)
Answer:
The code is given below in Java with appropriate comments
Explanation:
//Import the input.
import java.util.Scanner;
class CensoredWords
{
//Define the main method.
public static void main(String args[ ])
{
//Define the variables.
String userInput="" ;
//Define the scanner object
Scanner scobj = new Scanner(System.in);
//Accept the userInput.
System.out.print("Enter String: ");
userInput=scobj.nextLine();
//Check if the input contains darn.
//Print censored.
if(userInput.toUpperCase().indexOf("DARN") != -1)
System.out.printf("Censored");
//IF the input does not contains darn
//Print userInput.
else
System.out.printf(userInput)
return;
}
}
Figure 1: An image — an array or a matrix of pixels arranged in columns and rows.
In a (8-bit) greyscale image each picture element has an assigned intensity that
ranges from 0 to 255. A grey scale image is what people normally call a black and
white image, but the name emphasizes that such an image will also include many
shades of grey.
Figure 2: Each pixel has a value from 0 (black) to 255 (white). The possible range of the pixel
values depend on the colour depth of the image, here 8 bit = 256 tones or greyscales.
A normal greyscale image has 8 bit colour depth = 256 greyscales. A “true colour”
image has 24 bit colour depth = 8 x 8 x 8 bits = 256 x 256 x 256 colours = ~16
million colours.
1.click windows start button on the bottom left corner
2. search Microsoft word
3.once Microsoft word is found right click on it
4. then you will see an option called "open file location"
5. then you will have the location of microsoft word