A program for entering a number. If 2 points the number is greater than 100, it prints the number, its square and its square root, and if it is not, the number and three of its multiples are printed. * IF X > 100 THEN PRINT X, X^2, X^(0.5) ELSE PRINT X, 2*X, 3*X , 4*X IF X > 100 THEN PRINT X, X^2, X^(0.33) ELSE PRINT X, 2*X, 3*X , 4*X IF X< 100 THEN PRINT X, X^2, X^(0.5) ELSE PRINT X, 2*X, 3*X , 4*X IF A > B THEN "50" * 1 point true False A = 45 IF A MOD 5 = 0 THEN A = A/5 3 points IF A MOD 5 = 0 THEN PRINT A/5 ELSE PRINT A * answer=9 answer =10 O O O O

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 22PE
icon
Related questions
Question
None
A A M 9:-V
A program for entering a number. If
2 points
the number is greater than 100, it
prints the number, its square and its
square root, and if it is not, the
number and three of its multiples are
printed. *
IF X > 100 THEN PRINT X, X^2, X^(0.5) ELSE
PRINT X, 2*X, 3*X, 4*X
IF X > 100 THEN PRINT X, X^2, X^(0.33)
ELSE PRINT X, 2*X, 3*X , 4*X
IF X < 100 THEN PRINT X, X^2, X^(0.5) ELSE
PRINT X, 2*X, 3*X , 4*X
IF A > B THEN "50" *
1 point
true
False
A = 45 IF A MOD 5 = O THEN A = A/5
3 points
IF A MOD 5 =0 THEN PRINT A/5 ELSE
PRINT A *
answer=9
answer =10
delete the line that curser on it.
2 points
Transcribed Image Text:A A M 9:-V A program for entering a number. If 2 points the number is greater than 100, it prints the number, its square and its square root, and if it is not, the number and three of its multiples are printed. * IF X > 100 THEN PRINT X, X^2, X^(0.5) ELSE PRINT X, 2*X, 3*X, 4*X IF X > 100 THEN PRINT X, X^2, X^(0.33) ELSE PRINT X, 2*X, 3*X , 4*X IF X < 100 THEN PRINT X, X^2, X^(0.5) ELSE PRINT X, 2*X, 3*X , 4*X IF A > B THEN "50" * 1 point true False A = 45 IF A MOD 5 = O THEN A = A/5 3 points IF A MOD 5 =0 THEN PRINT A/5 ELSE PRINT A * answer=9 answer =10 delete the line that curser on it. 2 points
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Units
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage