Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer the following questions using Raptor to create the specified programs. Please including screen snips of the final Raptor product flowchart. For each of the

Answer the following questions using Raptor to create the specified programs. Please including screen snips of the final Raptor product flowchart.

For each of the following programming challenges, use the top-down modular approach and pseudocode to design a suitable program to solve the it. Whenever appropriate validate the input data.

Question 1

Create a program in Java that will simulate the process of dealing cards from a 52-card deck by generating 500 random integers in the range 1-52. Assume that numbers 1-13 represent clubs, 14-26 represent diamonds, 27-39 represent hearts, and 40-52 represent spades. Display the number of times each suit occurred in the 500 deals.

Question 2

create a program that formats the output of a user's name using the length_of () function. You will need to use the print statement and the indicator to create this pseudocode. The user should be able to select the symbol used to form the borders of the name. If the users name is Howard Heisenberg and he chooses a * as the symbol, the output should look like this:

***************************

** Howard Heisenberg **

***************************

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

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

1. Why do people tell lies on their CVs?

Answered: 1 week ago