• abhishek reddy 1
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
public class MyHelloWorld {



//This is the class name, which will encapsulate the code for the class itself, of course.

//Now, inside the class encapsulation, add the following code:

public static void applyDiscount(Book_c[] books) {

for (Book_c b :Books){

b.Price_c *= 0.9;

{

{

}
public class MyHelloWorld {



//This is the class name, which will encapsulate the code for the class itself, of course.

//Now, inside the class encapsulation, add the following code:

public static void applyDiscount(Book_c[] books) {

for (Book_c b :Books){

b.Price_c *= 0.9;

{

{

}