Store data in a string or an array: int[], double[]
A. Count occurrence of a specific character in a string:
find the length of the string
loop through the string using for or while
inside the loop body, use charAt(i) to compare one character at a time
if found, increase the counter
else next loop iteration
B. Searching through a single string for digit 0-9:
set a flag: boolean found=false;
find the length of the string
loop through the string using for or while
inside the loop body, use charAt(i) to check if it is 0-9
if yes, found=true;
else next loop iteration
print found
C. Search for numbers of negative values(even/odd numbers, multiples of 7, prime numbers etc) in an array:
find the length of the array
loop through the array using for or while
inside the loop body, use array[i] to compare one at a time
if found, print it out;
else next loop iteration
D. Search through a String array:
use split() to create and print out a string array
find the length of the array
use for loop to go through each array element, which is a string
call a function to work/check on one string at a time
next loop iteration
Store data in a string or an array: int[], double[] or ACSL_Lisp_jr to complete
Just use https://repl.it/@DaveyYu/Fite-Me