Question 2 a) The registration information for programming seminar is as follows: Number of registrants 1-3 49 10 or more Charge per Person (RM) 150 100 80 The price per person depends on the number of registrant(s) that a company registers. (For example, if a company registers four people, the amount that should be paid by a company is RM400). This program reads company's name and number of registrant(s). Then, it should output the company's name, number of registrants and the amount charged. Wirite a pseudocode to answer these question. b) Calculate surface area of right cylinder based an formula for 15 times, A - (2 x n x rx h) + (2 x nxrx r) where = 3.142 If the surface area is greater or equal to 1000 display message, "Wow. So huge", if the surface area is less than 5 display a message, "Miniature", else "Just nice'. Draw a fowchart to answer these questior

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Q2
Question 2
a) The registration information for programming seminar is as follows:
Number of registrantts
1-3
4-9
10 or more
Charge per Person (RM)
150
100
80
The price per person depends on the number of registrant(s) that a company registers. (For exampie, if a company registers four people,
the amount that should be paid by a company is RM400). This program reads company's name and number of registrant(s). Then, it
should output the company's name, number of registrants and the amount charged. Write a pseudocode to answer these question.
b) Calculate surface area of right cylinder based an farmula for 15 times,
A - (2 x n x r x h) + (2 x n x rx r) where m = 3.142
If the surface area is greater or equal to 1000 display message, "Wow.. So huge", if the surface area is less than 5 display a
message, "Miniature", else "Just nice'. Draw a fowchart to answer these questior
Transcribed Image Text:Question 2 a) The registration information for programming seminar is as follows: Number of registrantts 1-3 4-9 10 or more Charge per Person (RM) 150 100 80 The price per person depends on the number of registrant(s) that a company registers. (For exampie, if a company registers four people, the amount that should be paid by a company is RM400). This program reads company's name and number of registrant(s). Then, it should output the company's name, number of registrants and the amount charged. Write a pseudocode to answer these question. b) Calculate surface area of right cylinder based an farmula for 15 times, A - (2 x n x r x h) + (2 x n x rx r) where m = 3.142 If the surface area is greater or equal to 1000 display message, "Wow.. So huge", if the surface area is less than 5 display a message, "Miniature", else "Just nice'. Draw a fowchart to answer these questior
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Public key encryption
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education