I cants see the "Selected Road" And I cant answer this unless you put that up. Sorry.
Answer:
) In computers and computer networks, a configuration often refers to the specific hardware and software details in terms of devices attached, capacity or capability, and exactly what the system is made up of.
Explanation:
hope it helps
Answer:
30 units of Food A and 45 units of Food B are to be purchased to keep costs at the minimum $105.
Explanation:
X = Amount of food A
Y = Amount of food B
Z= 2X+Y..... minimum cost equation
50X + 20Y > 2400 .................Vitamins .......(1)
30X + 20Y > 1800 ...................Minerals.......(2)
10X + 40Y > 1200 .................Calories ..........(3)
X > 0
y > 0
X=30 and Y = 45
Z= 2(30) + 45 = $105
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.