Home > Net >  C # level 1 subject
C # level 1 subject

Time:09-24

61. Known to the perimeter of a rectangle is 100, covers an area of 300, strives for the side length of the rectangle?
53. Character array x in any string of characters; Please prepare the function, according to a given alternative relations to replace all the characters in the array x, is still in the array x position, finally calling function x output, the results
Substitution: f (p)=p * 11% 256 (p is an ASCII value of the characters in the array, f (p) is calculated after the new characters of ASCII value), if f (p) after calculation value is less than or equal to g32 or transfering f (p) the corresponding characters are capital letters, the character is the same, otherwise will f (p) of the character to replace,
  •  Tags:  
  • C #
  • Related