A complete program with the method ShowCar:
import java.util.Scanner; // header file
public class ShowChar
{
public static void main(String[] args)
{
String lnOfText;
int i;
Scanner input = new Scanner(System.in);
System.out.print("Enter a line of text:");
lnOfText = input.nextLine();
System.out.print(" Enter your index: ");
i = input.nextInt();
show_Char(lnOfText,i);
}
public static void show_Char(String str_a, int i)
{
System.out.print(str_a.charAt(i));
}
}
In this program, both the inputs ie. a sentence or line of text as well as the index position is obtained. A method is written to find the string at that particular position. Finally the method prints that character at the particular index.
Answer:
not appropriate use of technology.
Explanation:
// writing c++ function
int maximum ( int a , int b){
if(a>b)
return a;
else
return b;
}
//when this function will be called it will return the max of the integers sent.
//for example
int max = maximum ( 3,4)
//max variable will have 4 returned by the function
Close call between researcher and project manager, but I say project manager
Answer:
Whenever a new row is inserted, based on the insertion point, the rest of the rows will move down and the reference will be changed accordingly.
Explanation:
Suppose there are 5 columns and ten rows in excel containing the value of student marks from column 2 to 4 in each subject and column 1 contains Student roll number.
There are totally 10 entries in the sheet (number of student = 10) and the column 6 is utilized to calculate total and there is a formula associated to each row to add marks.
When we want to enter another student data below the 5th student, we can insert and the whole row including the formula gets changed thus the reference of formula gets changed. Same is the case for deletion.