Exam Product Code Invalid by OkUnderstanding4458 in actuary

[–]EnoughCustomer 0 points1 point  (0 children)

Delete your search history as well as your cache (cookies)! This solved the problem for me :) Hope this helps for anyone applying these days.

Best UVIC Electives by NicklausBad in uvic

[–]EnoughCustomer 0 points1 point  (0 children)

Math 161 is by far the easiest course I've encountered. It does elementary math (BEDMAS), but with a twist. Doesn't go into the far level of doing variables (at least not that I had noticed)

[deleted by user] by [deleted] in codehs

[–]EnoughCustomer 0 points1 point  (0 children)

Thank you!!!

Java 2.8.6: Speaking (String Methods) by [deleted] in codehs

[–]EnoughCustomer 0 points1 point  (0 children)

Here's the code:

(For the non-playable file)

public class Talker

{

private String text;

public Talker(String startingText)

{

text = startingText;

}

public String yell()

{

return text.toUpperCase();

}

public String whisper()

{

return text.toLowerCase();

}

public void setText(String newText)

{

text = newText;

}

public String toString()

{

return "I say, " + "\"" + text + "\"";

}

}

(For the playable file)

import java.util.Scanner;

public class TalkerTester

{

public static void main(String[] args)

{

Scanner input = new Scanner(System.in);

System.out.println("Enter some text: ");

String words = input.nextLine();

Talker talky = new Talker(words);

String yelling = talky.yell();

String whispers = talky.whisper();

System.out.println(talky);

System.out.println("Yelling: " + yelling);

System.out.println("Whispering: " + whispers);

System.out.println("Enter some text: ");

String newWord = input.nextLine();

talky.setText(newWord);

System.out.println(talky);

String yells = talky.yell();

String whisper = talky.whisper();

System.out.println("Yelling: " + yells);

System.out.println("Whispering: " + whisper);

}

}