banner



3.2 Code Practice Question 1

Question:

William W.

AP CS

vii months ago

"delight answer that and i'll gave you branlliest 3.2 Code Practice: Question i Instructions Write program to enter number and test if it is greater than 45.6.If the number entered is greater than 45.6,the program needs to output the phrase Greater than 45.6 Sample Run Enter number: Sample Output Greater than 45.6"



Video Reply:

preview

Get the reply to your homework problem.

Try Numerade complimentary for 7 days

Massachusetts Institute of Technology

We don't have your requested question, but hither is a suggested video that might assistance.

Related Question

Write a program that would read 3 1-digit numbers say ten,y, and z and would output the following:10*y<z if x*y is less than zx*y=z if ten*y is equal to zx*y>z if x*y is greater than zEx. if the inputs ate v half-dozen 9, output is 5*6>9

Give-and-take

You must be signed in to talk over.

Video Transcript

Okay and then we want to write a part that'southward going to practice these iii things. So yeah y'all're going to have in three integers X. Y. And Z. And you basically want to print uh similar the post-obit. So you say like you want to print like X times Y is less than C. If X times Y is less than C. And and so same affair, it'southward swell to see an equal Z. And and then we want to do part simply call it funk. And let's have in Ten. Y. And Z. And so nosotros're going to compare. Um nosotros're showtime going to do if 10 times Y is less than C. Um And and so nosotros really want to print like the numbers. Then what we're going to do is um go ahead and write our outputs. And then we have output is equal to string. So we want to basically convert our our interest to string. And then X. Plus um at a multiplication symbol, string Y. And and so we want the terminal dance symbol in this instance and then string C. And and so Fifty. I. F. Sometimes why? They couldn't see I'thou gonna do the aforementioned affair except for the equal sign. So if this is less than this is greater than C. But the aforementioned matter except with a um greater than sign. And so finally we tin can just render um the output. And so should give usa the correct answer. And so let's say nosotros do part of five and half dozen and nine And yous can see a prince at five times 6 is greater than nine. But if we did something like one, you lot see a princess one times 6 is less than nine and and then say like three times iii. The side by side 1 said 3 times three is equal to nine.

3.2 Code Practice Question 1,

Source: https://www.numerade.com/ask/question/please-answer-that-and-ill-gave-you-branlliest-32-code-practice-question-1-instructions-write-program-to-enter-number-and-test-if-it-is-greater-than-456if-the-number-entered-is-greater-than--78207/

Posted by: williamscollas.blogspot.com

0 Response to "3.2 Code Practice Question 1"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel