American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – USACO Bronze – Gamas

July 11 @ 6:00 pm - 7:00 pm

Today We Did
  1. We went over recursion and while loop.
  2. We went over the 3 basic recursion steps.
Homework
  1. create July11RecursionHw.py
    1. create public boolean isPalindrome(char[] text)
    2. create a while true and scanner program to achieve this below
      1. Enter your text ('exit' to stop): racecar
        'racecar' is a palindrome
        
        Enter your text ('exit' to stop): gamas
        'gamas' is not a palindrome
        
        Enter your text ('exit' to stop): exit
        Thank you for using this Palindrome recursion
    3. create public void reverseArray(char[] text)
    4. create a while true and scanner program to achieve this below
      1. Enter your text ('exit' to stop): racecar
        'racecar' is the reverse of 'racecar'
        
        Enter your text ('exit' to stop): gamas
        'samag' is the reverse of 'gamas'
        
        Enter your text ('exit' to stop): exit
        Thank you for using this Reverse Array recursion.

Details

Date:
July 11
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights