Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use c not c++ please and dont use string library Suppose you are a renewable energy engineer and you need to calculate the energy in

use c not c++ please
and dont use string library
image text in transcribed
image text in transcribed
Suppose you are a renewable energy engineer and you need to calculate the energy in some waves Write a program that performs the following 1 Dec. Swo stuctus, the test structure called Particle with the following members Agency (font) Anglade (int) and linear density) And the second structure catec Wave with the clicwing members number inname (string) Typestring), and WaveParticle Partici) Noteit type the the wave is ongtudinal wave and type then the wave is transverse 3. Ak the to enter the information of waves and save them in any cated Spectrum the atunction called Energy that takes the way Spectrum o an orpanort and conciliate the energy (E) for of waves that have the you Truter or waves that have the name Ursund in the Spectrum ang the following om E = V. Angular frequency 2. Amplitude? . linear density loy the man call the function Energy and print theory for Transverse or Und wenn e Spectrum Same Olot Enter the information of 5 waves: Wavel Number: 1 Name: Water Type: Trans Angular_frequency: 1.0 linear denty: 4.0 Amplitude: 3 Wave2 Number: 2 Name: Ultrasound Type: Long Angular frequency: 2.0 linear density: 4.0 Amplitude: 3 Wave3 Number: 3 Suppose you are a computer engineer at GJU and you need to check the validity of password for MyGJU-Email, Write a C program that is responsible for checking the validity of password entered by the user 1 In the main function declare a string that can hold up to 50 characters and ask the user to enter a string 2. in separated function check whether the string entered by the user is valdas.password. The string is considered valid as password if its deaths between 10.10.15.characters starts with habets, and composed of a mothes and ambers only 3. In the man tunction print out the strong and tell the user whother or not tis valid password based on the result of port Hints: Test out the program by checking the following strings: "Abc123. Noe vald, because its length a less than 10 characters abcyzt230 Valid abcdothymn Not valid because it contains only alphabets 1234567890123" Not valid because contains only numbers bef123590123". Not valt because it contain special characters A

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 Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago