Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ne uppercase and at least one lowercase nd at least one character '@'. - The password should have at least one digit. Write a program

image text in transcribed
ne uppercase and at least one lowercase nd at least one character '@'. - The password should have at least one digit. Write a program that asks for a password and then verifies that it meets the stated criteria. If it doesn't, the program should display a message telling the user why. 2) (40 pts) a) (20 pts) Write a function that accepts a pointer and an integer number as arguments. When calling function with an array of float numbers and its size, it returns the average value of the array's elements. 3) (20 pts) Write a program that asks the user for the name of a text file. The file is opened and read, each character is processed as follow: - if it is a letter, the character is converted to upper case. - if it is a digit, the character is changed to '#' Then it is written to a second file called out.txt 3) (35 pts) te a program that stores the following data about a basketball player in a structure: r's Name (string) er's Number (short int) nts Scored by Player (int) he program should keep an array of 5 of these structures. Each element is for a differer player on a team. When the program runs it should ask the user to enter the data for eac

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

More Books

Students also viewed these Databases questions