Use if to specify a block of code to be executed,if a specified condtituons is t

Use if to specify a block of code to be executed,if a specified condtituons is t

Use if to specify a block of code to be executed,if a specified condtituons is true use else to specta block of code to be execy,if the same condition is false .use else it to specify a new contitions to test it the first conditions of false…if else statement controls conditions evaluation to a nonzero value (or true ).if the value of contions in nonzero ,the following statement gets executed and the stastatement of following the optional else gets skipped As external extension additional conditions to be checked it the initial conversation is not mer therefore a vaidl else if statement always follow an “ifif” statement

Posted in C++

You are working for a company (jBlink Software Inc.) that recently had one of th

You are working for a company (jBlink Software Inc.) that recently had one of th

You are working for a company (jBlink Software Inc.) that recently had one of the programmers
leave. The programmer was working on a library of methods in C# to support Statistical
Calculations. The library was designed using a List of Double values and it is currently only
expected to work with that data type. Your boss has asked you to improve the quality of the code
by refactoring and adding appropriate documentation.
The code appears complete and includes a main method that executes each of the public
methods in the class. Since these are general-purpose methods each has been declared static
(class methods). All parameters to obtain the required functionality are passed as method
arguments.
General Assignment Requirements
Set up a project using Visual Studio and run the program. It should produce a set of results as
shown below:
Place the code into a source control system. Specifically, you have been asked to use Git for this
project. Git is included in Visual Studio. A tutorial on how to use the features of Git required for
this lab is available on the Canvas Modules page for this course.
Provided Guidelines
 C# Style Guide
o Refactor the code using the rules listed in the guide below
o https://www.dofactory.com/reference/csharp-coding-standards.
 XML Comments
o Comment all of the code according to the guidelines in the link below
o https://docs.microsoft.com/en-us/dotnet/csharp/programming-
guide/xmldoc/recommended-tags-for-documentation-comments
Tasks / Check List
The specific steps for this lab are listed below:
 Create a new Visual Studio project and add the source file (A3.cs) to the project.
 Execute the project and ensure you see the results in the output window.
 Create a GIT repository for the project.
o In Visual Studio 2019 Community Edition, this will automatically add and commit
all the files.
o If you are working in a different version, ensure all files have been added and
committed.
 In order to understand the methods, it is suggested that you modify the main method and
attempt to pass different parameters to the methods.
 Document and improve the source code using the rules from the C# style guide provided
on the first page of the assignment.
o A list of the rules that you applied from the C# style guide to the code must be
included at the top of the source file in a comment.
o List only the rules you actually applied to the code.
o List the rules by name, (i.e. DO use Pascal Casing for class names and method
names).
 Comment / Document the code following the guide provided on the first page of the
assignment.
 Once code changes and commenting are complete, commit these changes to the
repository, using the following commit comment: “COMMIT#2 – Source Code
Improvements”.
PLEASE CHECK BELOW MARKING SCHEME
Your submission will be evaluated for:
 Initial repository creation and a 2nd commit – proper use of Git (20%),
 Code refactoring based on Guidelines, and including rules applied as a comment (40%),
 Commenting the methods as required with documentation comments (40%).
PLEASE FIND ATTACHED SCREENSHOT AND THE SOURCE CODE TO START THE PROJECT WITH!

Posted in C++

TITLE: Repetition structure: for loop, while loop, do..while loop Handle Menu

TITLE:
Repetition structure: for loop, while loop, do..while loop
Handle Menu

TITLE:
Repetition structure: for loop, while loop, do..while loop
Handle Menu to re-display – Distance Converter with user-defined functions
TIME TO COMPLETE
2 Weeks for 16 weeks class – 1 week for 8 weeks class
HOW TO DO THE LAB
Remember to do the lab with the following:
*If you need help about the C++ syntax to write the code, read the instruction in the folder “Skills Required”
*From now and on yourLastName will be changed to your last name
*Your program should change Martinez to your last name
*Change Luis Martinez to your full name
*write the file name as the first comment line at the top of program
*After running your program, take the picture of the output window as below from your program with your name on and paste the picture at the bottom of the document having pseudo-code to turn in

Part 1: Use word document named SP2024_LAB5PART1_yourLastName to answer questions
Part 2:
Step1:
Read the requirement; write in English the pseudo-code in a word document by listing the step by step what you suppose to do in main() and then save it with the name as Lab5_pseudoCode_yourLastName
Step2:
Start Virtual Studio C++, create the project àwrite the project name
For Part 2: SP2024_LAB5PART2_yourLastName
Add .cpp file
For Part 2: SP2024_DistanceConverter_yourLastName.cpp
After adding the cpp file, you have an empty window coming up, type the following template of a C++ program in:
//File name should be written here as comment line
#include
using namespace std;
int main()
{
//add the code here below this line
…..
system(“pause”); //This will pause the output to read
return 0;
}
Step3:
Then follow the step by step in the pseudo-code, type the C++ code in after the line “//add the code here below this line”
Step4:
Compile and run the program
Step5:
Debug if there are any errors until compile successfully
LAB5 – PART1 REQUIREMENT
Use the word document to write the answers to the following questions:
QUESTION 1 – for loop
DO NOT USE ARRAYS FOR THIS QUESTION
Provide a C++ for loop that initialize sum to 0 then run 10 times. Each time generate and display one number as below that separates to other number by a comma; then add the number to sum.
After running the loop 10 times, we have the output as below:
3, 4, 6, 9, 13, 18, 24, 31, 39, 48
Sum of these numbers is: 195
QUESTION 2 – while loop
2A
Suppose we declare the following variables:
int count = 0;
int iNumber = 1, previous = 1, product = 1;
Write the while loop that do the following if product is still less than or equal to 2024
-increase count by 1
-set previous equal to product
-lets the user enter a number for intNumber, intNumber can be 1 or any number, each time enter different the previous values.
-multiply iNumber with product and the result is stored back to the variable product.
After the loop stop, display the output in the following format (for example)
At count =4
Previous product = 945
Input number= 32
Product =30240
2B
If product = 2024 instead of product = 1 at the beginning. How many times does the while loop iterate such that the product <= 2024? QUESTION 3 – do while loop 3A Suppose we define the following variables: int count = 0; int iNumber = 1, previous = 1, product = 1; Write the do..while loop that do the following when the product is less than or equal to 2024 -increase count by 1 -set previous equal to product -lets the user enter a number for intNumber, intNumber can be 1 or any number, each time enter different the previous values. -multiply iNumber with product and the result is stored back to the variable product. After the loop stop, display the output in the following format (for example) At count =4 Previous product = 945 Input number=32 Product =30240 3B If product = 3000 instead of product = 1 at the beginning. How many times does the do..while loop iterate such that the product < 2022 QUESTION 4: Write/Read the file 4A.Write to file Write the code to do the following: -Display message to ask then read input from the keyboard about the following information: * accountNumber (string) * customerName (string) * balance (float) -open output file customer.txt to write: -Write to the output file customer.txt the following information that have read input from the keyboard in the following format: accountNumber – customerName – balance For example: 1561163623- Luis Martinez – 2845.25 -close file 4B – Read from the file Open notepad, type the following lines with the file name as data.txt 1112243433 - Mary Lane – 1250.366 2123312344 – John Smith – 2134.25 1561175753 - James Smith – 1255.25 -provide the C++ code to open file data.txt to read -Use the loop to read file -Read each line of the file then display on screen -continue reading and displaying on the screen all the lines until end of the file -Write: “End of the file data.txt” on the screen -close data.txt file QUESTION 5 – Use do..while loop to redisplay the menu Provide the do..while loop to display the following menu on the screen. After users select a process; the loop must loop back to display the menu until users select 0 to exit MENU 1. Process 1 2. Process 2 3. Process 3 0. Exit Type a number 1, 2, 3 to select the Process: Read the number. Write the switch statement based on the selected number: If selected number = 1: Display “You select Process 1” If selected number = 2: Display “You select Process 2” If selected number = 3: Display “You select Process 3” If selected number = 0: Display “You select Exit” For other number: Display “Invalid Process.” LAB 5 - PART2 REQUIREMENT SP2024_DistanceConverter_yourLastname.cpp Use C++ to create an application that provides the following menu with 4 user-defined functions to convert the distance between miles and kilometers; then allow users to enter a number from 0, 1, 2, 3, 4 to select a function: SP2024_DistanceConverterApplication_Martinez.cpp MENU DISTANCE CONVERTER – LUIS MARTINEZ --------------------------------------------------- Formula: Miles to Kilometers Formula: Kilometers to Miles Estimate: Miles to Kilometers Estimate: Kilometers to Miles Exit Type a number from 1 to 4 to select the method to convert or 0 to exit: For each selected number, you should access one user-defined functions 4 USER-DEFINED FUNCTIONS are: -function converts miles to kilometers: this function reads a mile’s value from the keyboard, then apply the following formula to convert it to kilometers and display the output Distance in km= Distance in miles * 1.60935 -function converts kilometers to miles: this function reads a kilometer value from keyboard, then apply the following formula to convert kilometer value to mile and display the output Distance in miles = Distance in km* 0.62137 -function converts miles to kilometers: this function reads a mile’s value from the keyboard, then apply the following estimate to convert it to kilometers and display the output Distance in km= Distance in miles * 8/5 -function converts kilometers to miles: this function reads a kilometer value from keyboard, then apply the following estimate to convert it to mile and display the output Distance in miles = Distance in km* 5/8 HOW TO TURN IN THE LAB ATTENTION: Compress each project folder into a file .zip or a file .rar. that includes source files and execute files. -If you do not have the source file and execute file, your lab gets 0 points -If you do not provide file .exe of the part, you only have half of the max score of the part You should turn in the following files: 1.LAB4PART1_Answers_yourLastName.docx 2.Lab5_pseudoCode_yourLastName.docx (including Pseudo-code and the output pictures part2) 3.SP2024_LAB5PART2_yourLastName.zip (including file SP2024_DistanceConverterApplication-YourLastName.cpp and file SP2024_LAB5PART2_yourLastName.exe)

Posted in C++

Everything you need to know is on the files, make sure you read them. Required

Everything you need to know is on the files, make sure you read them.
Required

Everything you need to know is on the files, make sure you read them.
Required
1. Create a wireless network using at least six Light-weight Access Points (LAPs) and a Wireless LAN Controller (WLC).
2. Set up a DHCP server and link it with WLC for dynamic IP allocation
3. Create at least three WLANs.
4. Create at least three AP Groups (at least two Groups must have two LAPs in each one).
5. Each AP group should be connected to a different WLAN.
6. Configure two different clients/end devices for each of LAPs. (For example, an AP group with two APs should have 4 clients)
7. Configure a RADIUS Server and link it to the WLC to authenticate all end users, along with WPA2 security.
8. Configure DNS service to access the WLC from a PC browser using its name.
9. Configure all devices appropriately.
10. Test your system and make sure that all devices are connected to the network with correct configurations. Troubleshoot any errors. Please note that testing and troubleshooting/corrections is part of the assignment.
on word file you are required to explain how you configured each

Posted in C++

Sequences: The Sequel! Step 1 – Take your sequence class from Assignment 1 and u

Sequences: The Sequel!
Step 1 – Take your sequence class from Assignment 1 and u

Sequences: The Sequel!
Step 1 – Take your sequence class from Assignment 1 and update it to use a template parameter to determine what type of data to hold. Keep in mind that this will likely require you to implement some of your class member functions (and maybe some nonmember functions) as template functions, which will require them to be implemented in the header file. To solve this problem, create a file called sequence.template and define the necessary functions there. (All other functions should continue to be implemented in sequence.cpp.)
Step 2 – Referencing the dynamic array example code from Lecture 5 if necessary, rewrite your templated sequence class from Step 1 to use a dynamic array for data storage. Save the resulting files as “sequence_dynamic[.h, .cpp, .template]”.
Step 3 – Extending your previous work on the node class in Lab 3, rewrite your node class to use a template parameter to determine what type of data it will store. (Figure 6.4 in Main and Savitch might be helpful here.) Save the resulting files as “node[.h, .cpp, .template]”.
Step 4 – Lightly modify your class from Step 3 to implement a templated _doubly_ linked list. Save the resulting files as “node_doubly_linked[.h, .cpp, .template]”.
Step 5 – Create a templated sequence class using a linked list for data storage. (This means using the templated node class.) Save the required files as “sequence_linked_list[.h, .cpp, .template]”.
Step 6 – Finally, modify your work from step 5 to implement the templated sequence class using a doubly-linked list. Save the resulting files as “sequence_doubly_linked[.h, .cpp, .template]”.
Step 7: Now that you’ve written all of your code, I’d like you to go back and indicate the Big-O complexity class of each function in each implementation. A short one-line comment (for example, “// O(n)”) before each function is sufficient.
Step 8: You will need to test the core functionaliy of each class. (don’t worry, tests should largelt be reusable between implementations of a given class.) Whether you submit a single test file for all classes, or one for each class, is up to you.
*To be clear you will ultimately implement, analyze, and test 6 classes here:
— 4 different sequence classes
— 2 different node classes
* Note that you may now always have a resulting *.cpp implementation file for some templated classes. Your entire implementation might rightfully end up in the *.template file.
Once you are ready to submit everything, zip all *.h, *.template, and *.cpp files (including test files) into a single zip file and upload that file through Canvas.

Posted in C++

Write a program that declares a struct to store the data of a football player (p

Write a program that declares a struct to store the data of a football player (p

Write a program that declares a struct to store the data of a football player (player’s name, player’s position, number of touchdowns, number of catches, number of passing yards, number of receiving yards, and the number of rushing yards).
Declare an array of 10 components to store the data of 10 football players.
Your program must contain a function to input data and a function to output data. Add functions to search the array to find the index of a specific player, and up-date the data of a player. (You may assume that the input data is stored in a file.) Before the program terminates, give the user the option to save data in a file. Your program should be menu driven, giving the user various choices.
An example of the program is shown below:
Select one of the following options:
1: To print a player’s data
2: To print the entire data
3: To update a player’s touch downs
4: To update a player’s number of catches
5: To update a player’s passing yards
6: To update a player’s receiving yards
7: To update a player’s rushing yards
99: To quit the program
1

Enter player’s name: Bill

Name: BillPosition: Quarter_Back; Touch Downs: 70; Number of Catche
s: 0; Passing Yards: 8754; Receiving Yards: 0; Rushing Yards: 573

Select one of the following options:
1: To print a player’s data
2: To print the entire data
3: To update a player’s touch downs
4: To update a player’s number of catches
5: To update a player’s passing yards
6: To update a player’s receiving yards
7: To update a player’s rushing yards
99: To quit the program
99

Would you like to save data: (y,Y/n,N) N

Posted in C++

Hello, I need help with creating a project in C++. I attached one file with the

Hello, I need help with creating a project in C++. I attached one file with the

Hello, I need help with creating a project in C++. I attached one file with the instructions, one file with the rubric, and 3 files with code that you have to study. The final project has 7 files (as the instruction says). Programming language: C++, using Queues! You must comment your program properly – describe why you wrote each line of code in this way. I know that you can find answers in the Internet, do not do this. I will check it!

Posted in C++

Hi, I need this assignment done. Please use Free assets for this assignment. For

Hi, I need this assignment done. Please use Free assets for this assignment. For

Hi, I need this assignment done. Please use Free assets for this assignment. For the readme.txt, use Unity 2022.3.17f1 LTS and use an iOS device for the mobile platform and for the computer platform, use a 64-bit OS, Windows 11. In addition, the assignment does not state this, but the program needs to utilize AR. In addition, complete a readme + zip file with the program. For the readme, please do letters c,d,e,f,g,h,i,j,k,l. I will do a and b. This task should be completed with well-commented code. Please comment all methods and functions.

Posted in C++