Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please asap QUESTION 11 What is the value of A ? MAIN: Player = MANNY PACQUIAO A=M( Player) Print A M(P): x=0 For each character

image text in transcribedplease asap

QUESTION 11 What is the value of A ? MAIN: Player = "MANNY PACQUIAO" A=M( Player) Print A M(P): x=0 For each character in P IF character is ' A' OR character is ' E ' OR character is T' OR character is ' O ' or character is ' U ' x=x+1 Return x QUESTION 12 What is the output of the code? MAIN: M(255.7) M(P): IF P is greater than or equal 202.5 Print "A1" ELSE IF P is greater than or equal 122.4 Print "A2" ELSE Print "A3" A1 A2 A3 No output

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

Takes a confident approach to leading the efforts of others.

Answered: 1 week ago

Question

What is the current year you are evaluating?

Answered: 1 week ago