Develop a pseudocode or flowchart for all the following problems : 1. Write a program which will display “I AM GOOD” on the computer screen for 10x 2. Write a program which will display “I AM GREAT” on the computer screen for 100x 3. Write a program which will display “I AM SUPERMAN” on the computer screen for 1000x 4. Accept two integers from computer user and check whether they are equal or not.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 28PE
icon
Related questions
icon
Concept explainers
Question
100%

Develop a pseudocode or flowchart for all the following problems :

1. Write a program which will display “I AM GOOD” on the computer screen for 10x
2. Write a program which will display “I AM GREAT” on the computer screen for 100x
3. Write a program which will display “I AM SUPERMAN” on the computer screen for 1000x
4. Accept two integers from computer user and check whether they are equal or not.
5. Write a program to check whether a given number is even or odd.
6. Write a program to check whether a given number is positive or negative
7. Write a program to read the value of an integer m and display the value of n is 1 when m is larger than 0, 0
when m is 0 and -1 when m is less than 0
8. Write a program which accept the user’s height in cm then display :
a. You are so tall → if the height is more than 180cm
b. You are not that tall → if the height is between 100 – 179cm
c. You are short ha ha ha → if the height is less than 100cm
9. Write a program to read 10 numbers from keyboard and find their sum and average
10. Ask the user to enter a number and display a pattern based on the value of the number.
Eg : 3
x x x
x x x
x x x

11. Ask the user to enter a number and display a pattern based on the value of the number.
Eg : 5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Operators
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