Answer:
Answered below.
Explanation:
This answer is applicable to Linux.
There are several commands for copying files in Linux. cp and rsync are the most widely used. cp though, is the command used to copy files and their contents.
To copy a file named report1.txt to another file named report1uc.txt in the current directory, the following command is run.
$ cp report1.txt report1uc.txt
You can change the case of the strings in the file by using the tr command.
tr [:lower:] [:upper:]
For example,
$ echo brainly | tr [:lower:]. [:upper:]
Result is BRAINLY.
Answer:
hmmm well what is your magager?? every job will ask you what you can do.
Answer:
The correct answer for the given question is Integer.parseInt( string variable );
Explanation:
Integer.parseInt( string variable ); is the method in a java programming language that convert the string into the integer value. It takes a string variable and converted into the integer.
Following are the program in java which convert the string value into an integer value.
class Main
{
public static void main(String []args) // main function
{
String str1 = "10009";
// variable declaration
int k = Integer.parseInt(str1);
// convert the string into integer.
System.out.println("Converted into Int:" + k);
}
}
Output:
Converted into Int:10009
Convert.toInt( stringVariable );
Convert.parseInt( stringVariable,Integer.toInt( stringVariable ); are not any method to convert the string into integer .
Therefore the correct answer is :Integer.parseInt( stringVariable );
Answer:
The answer is "Option (i)".
Explanation:
- In the given question, an array is defined. It is a collection of the same type of data element, which means, array stores either a numeric value or string value at a time.
- An array beta is defined, which contains 50 elements. The array elements indexing always starts with 0 which means, the first element of the array will be stored in an index value that is 0. That's why option (i) is correct.
Answer:
In Python:
Unit_Cost = 200
Cost50 = 50 * Unit_Cost
print("Cost of 50 items: Rs."+str(Cost50))
Explanation:
This initializes the unit cost to 200
Unit_Cost = 200
This calculates the cost of 50 of such items
Cost50 = 50 * Unit_Cost
This prints the calculated cost
print("Cost of 50 items: Rs."+str(Cost50))