Answer:
len()function:
Explanation:
that's for python btw
i also know java if you want a java version
The code that examines all the strings in the input source and determines how long the longest string (or strings are) is the following:
total = 0;
% initial value is zero, in every while loop it will be incremented
while(input.hasNextInt()){
total += input.nextInt( );
}
order: soil, plant seeds, water, seedling, corn plant
Answer and Explanation:
Multiple-line comments :
Advantage :In the event that we need to remark out of zone of the given program , we can utilize it.
Disadvantage : In numerous line results are in reduced unwavering quality. It stretches out the remark as far as possible of the following comment.For least difficult approach to unintentionally leave off the last delimiter, which successfully expelling code from the program.
Single Line Comments :
Advantage :In the event that you need to close all the delimiter before close the program we utilize this kind of remarks.
Disadvantage : It put more burden on your program .It repeated on every line of a block of comments