Skip to content
Snippets Groups Projects
Select Git revision
  • 385a4f8a23265f80587547e4f8b94ada9192a706
  • master default
2 results

build.gradle

Blame
  • cse16260_labp2 702 B
    --------------------------------pseudo code for question 1 -------------------------------------
    1)for i range(0,len(origitems))
    2)for j in range(0,len(items))
    3)if(origprices[i]==prices[j])
    4)diff=origprice-price
    5)if diff !=0 then increment count
    6)print count
    .
    
    --------------------------------pseudo code for question 2 ---------------------------------------
    
    1)for i in range(0,len(text))
    2)for j in range(0,len(preffixString))
    3)if text[i] == preffixString[j]
    4) then check for the remaining characters how many are equal and increment count
    5)store 5the characters in string1
    6) same as the above for suffixstring
    7)add both trhe values and append the both strings
    8)print the appended string