Answer:
The program written in Java is given in the explanation section
Explanation:
public class num9 {
//Defining the method CountCharacters()
public static int CountCharacters(char userChar, String userString){
int c = userString.length();
int count=0;
for(int i=0; i<c; i++){
if(userString.charAt(i)==userChar){
count++;
}
}
return count;
}
//Main method begins here
public static void main(String[] args) {
char n ='n';
String word = "Monday";
//Calling the method CountCharacters()
System.out.println(CountCharacters(n,word));
}
}
The weight of an object is directly perportional to value of g. which is 9.8 m/s2
. if the value is zero then the weight of that object will be zero on that surface.Watch this video to understand more about your topic.
http://googletune.com/watch?v=hPEx3gxtPK4
The smallest you should have is PROBABLY 24 points. Anything below that is going to strain the audience's eyes! However, the title text can be a bit bigger, around 36 and then for text anything around 24-26 should work!
A.19.67 is a floating point number
Answer:
if(isIsosceles){
isoCount+=1;
triangleCount+=1;
polygonCount+=1;
}
Explanation:
Here we are checking the condition for variable "isIsosceles" using if condition. if it is true then only if block executed and it will increment mentioned variable values by 1