Question

T selerve a grade of 100 on this assignment before you may submit the next Waldo assignment. Waldo Assignment # 2 You must re

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If you need any corrections kindly comment.

The pseudo code is

main()

{

     print (“Enter three names”)

    Read name1, name2, name3

    result=findWaldo(name1,name2,name3)

    if (result=="true")

         print("Waldo found")

    else

         print("Waldo not found")

}

boolean findWaldo(name1,name2,name3)

{

         if(name1==”Waldo”) ||(name2==”Waldo”)||(name3==”Waldo”)

             return true

         else

             return false

}

Add a comment
Know the answer?
Add Answer to:
T selerve a grade of 100 on this assignment before you may submit the next Waldo...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Lab Exercises This lab assignment includes three items. You will write a file containing psuedocode, one...

    Lab Exercises This lab assignment includes three items. You will write a file containing psuedocode, one Matlab function and one Matlab script. The script ca the function and your psuedocode must be robust enough to be a clear basis for the function and script files. The function you will write must implement the method of Naïve Gauss Elimination. Here is the official assignment: 1. Psuedocode Write psuedocode for a function implementing Naive Gauss Elimination. Save this pseudocode to a file...

  • Your assignment is to write a grade book for a teacher. The teacher has a text file, which includ...

    Your assignment is to write a grade book for a teacher. The teacher has a text file, which includes student's names, and students test grades. There are four test scores for each student. Here is an example of such a file: Count: 5 Sally 78.0 84.0 79.0 86.0 Rachel 68.0 76.0 87.0 76.0 Melba 87.0 78.0 98.0 88.0 Grace 76.0 67.0 89.0 0.0 Lisa 68.0 76.0 65.0 87.0 The first line of the file will indicate the number of students...

  • CIST 1305 Unit 07 Drop Box Assignment The Assignment ONLY ONE FILE may be turned in for the assig...

    CIST 1305 Unit 07 Drop Box Assignment The Assignment ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. For instruction on How To do assignments and create the file see the "How To Do Homework" document under the "Start Here" button. You will create a word...

  • In C++ Assignment 8 - Test Scores Be sure to read through Chapter 10 before starting this assignment. Your job is to write a program to process test scores for a class. Input Data You will input a tes...

    In C++ Assignment 8 - Test Scores Be sure to read through Chapter 10 before starting this assignment. Your job is to write a program to process test scores for a class. Input Data You will input a test grade (integer value) for each student in a class. Validation Tests are graded on a 100 point scale with a 5 point bonus question. So a valid grade should be 0 through 105, inclusive. Processing Your program should work for any...

  • Assignment W3-2 This programming assignment addresses: •Compiling and Executing an App with more than 1 class...

    Assignment W3-2 This programming assignment addresses: •Compiling and Executing an App with more than 1 class •Initializing Objects using Constructors •Software Engineering with Private Instances Variables and Public Set/Get Methods •Uses Methods inside classes Description: You are asked to write a program to process two students’ scores. Each student will have scores for 3 tests, the user will input each student’s full name followed by their three scores. When the data for the two students are read from the keyboard,...

  • In this assignment, you will use your basic JavaScript knowledge to create an interactive component to...

    In this assignment, you will use your basic JavaScript knowledge to create an interactive component to your client’s website. This interactive element should be based on one of your CTAs. What does this mean? Think about one of the things that you want to do to get your visitors engaged with your site. Then create a form that the visitor will fill out and to which you will provide some response. Your form should be specific to your website CTA....

  • In this assignment you are to utilize the Node data structure provided on Blackboard. In this...

    In this assignment you are to utilize the Node data structure provided on Blackboard. In this assignment you are to write a main program that implements two methods and a main method as their driver. So, only main and two methods with it. Note: You may not use any of the LinkedList class provided on Blackboard, you may use the methods in it as a guide (you should actually look at them) but you cannot use any of the methods...

  • Write a program to calculate students’ average test scores and their grades. You may assume the...

    Write a program to calculate students’ average test scores and their grades. You may assume the following data: Johnson 85 83 77 91 76 Aniston 80 90 95 93 48 Cooper 78 81 11 90 73 Gupta 92 83 30 69 87 Blair 23 45 96 38 59 Clark 60 85 45 39 67 Kennedy 77 31 52 74 83 Bronson 93 94 89 77 97 Sunny 79 85 28 93 82 Smith 85 72 49 75 63 Use three...

  • Write a program to calculate students’ average test scores and their grades. You may assume the...

    Write a program to calculate students’ average test scores and their grades. You may assume the following data: Johnson 85 83 77 91 76 Aniston 80 90 95 93 48 Cooper 78 81 11 90 73 Gupta 92 83 30 69 87 Blair 23 45 96 38 59 Clark 60 85 45 39 67 Kennedy 77 31 52 74 83 Bronson 93 94 89 77 97 Sunny 79 85 28 93 82 Smith 85 72 49 75 63 Use three...

  • This assignment shpuld be code in java. Thanks Overview In this assignment you will write a...

    This assignment shpuld be code in java. Thanks Overview In this assignment you will write a program that will model a pet store. The program will have a Pet class to model individual pets and the Assignment5 class will contain the main and act as the pet store. Users will be able to view the pets, make them age a year at a time, add a new pet, and adopt any of the pets. Note: From this point on, your...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT