Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help with the 3 assignments. java for netbeans TOOLS VIEW Lab Assignment Single Dmensional Arras & Methods les from the Internet can contain viruses.

need help with the 3 assignments. java for netbeans
image text in transcribed
TOOLS VIEW Lab Assignment Single Dmensional Arras & Methods les from the Internet can contain viruses. Unless you need to edit alerto stay in Protected Vew Ward (Unlicensed Product PROILCTED VIEW Be careful door Protected View Enable Editing CPSC102 Introduction to Computing II School of Engineering Lab 3: Single-Dimensional Arrays University of Bridgeport Enter the number of students: 4 - Enter 4 score 40 55 70 58 - Student O score is 40 and grade is C Student 1 score is 55 and grade is Student 2 score is 70 and grade 15 A Student score is 58 and grade 1 B Part 1: Part 3: (Display an integer reversed) Write a method with the following header to display an integer in reverse order: public static void reverse(int number) For example, reverse(3456) displays 6543. Write a test program that prompts the user to enter an integer and displays its reversal. (Check password) Some websites impose certain rules for passwords. Write a method that checks whether a string is a valid password. Suppose the password rules are as follows: A password must have at least eight characters. A password consists of only letters and digits. Part 2: A password must contain at least two digits. Write a program that prompts the user to enter a password and displays Valid Password if the rules are followed or Invalid Password otherwise. (Assign grades) Write a program that reads student scores, gets the best score, and then assigns grades based on the following scheme: Grade is A if score is best - 10 Grade is B if score is >=best - 20: Grade is C if score is best - 30: Grade is D if score is >= best - 40: Grade is F otherwise. The program prompts the user to enter the total number of students. then prompts the user to enter all of the scores, and concludes by displaying the grades. Here is a sample run: CHUNS 1-2 OF 2

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

Why is it rare for frames to be completely accurate?

Answered: 1 week ago

Question

Design a training session to maximize learning. page 296

Answered: 1 week ago

Question

Design a cross-cultural preparation program. page 300

Answered: 1 week ago