Programming Logic & Design Comprehensive
9th Edition
ISBN: 9781337669405
Author: FARRELL
Publisher: Cengage
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
Draw the following FlowChart in Raptor and upload the Raptor file into the assignment folder. Draw a table variable (for a, b, M) on a paper assuming the user insert M=7 when it is asked by raptor, and upload it to the assignment folder.
Which of the following are final values for n and sum, if the user inserts M=7 when it is asked by Raptor? Capital and Lowercase M is similar in this example (m=M) On paper, write what is the purpose of this algorithm.
a = 1, b=2, m=7
a = 2, b=4, m=7
a = 8, b=8, m=7
a = 16, b=16, m=7
a = 16, b=16, m=8
Add three files of any type you choose—for example, word-processing documents,spreadsheets, or pictures.Create a new folder named test inside folder data and move your third file in this folder.Write an application that determines whether the first two files are located in the same folderas the third one. Test the program when the files are in the same folder (before moving thirdfile in test folder) and when they are not (after moving third file in test folder).Save the file as CompareFolders.java.Submit the data folder zipped along with CompareFolders.java.HINT: Use try/catch block, path class and its methods.Run a loop to check the name count.Output will look like: -Path for file1 is C:\Users\<your file path>\Lab9\TestData1.txtPath for file2 is C:\Users\<your file path>\Lab9\TestData2.txtPath for file3 is C:\Users\<your file path>\Lab9\TestData3.txtAll files are in the same folderPath for file1 is C:\Users\<your file path>\Lab9\TestData1.txtPath for file2 is…
Your application will demonstrate the use of a loop to determine the smallest value entered by the user. Incorporate the following requirements into your application:
The program will consist of one file - the main application class
Name the class appropriately and name the file Program.cs (the default when you create the application)
Include documentation at the top of the file that includes
Your name
Date of development
Assignment (e.g., CIS214 Performance Assessment - Smallest Number)
Description of the class
The main application class must meet the following requirements
Print a line that states "Your Name - Week 2 PA Smallest Number"
Ask the user how many integers they will enter
Loop to get the specified number of integers from the user
Print the value of the smallest integer entered by the user
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- n this assignment, you are required to make an application using assembly code that takes two numbers from the user and returns the result of dividing the first number by the second number. Important notes: 1- You should allow the user to Enter to digits number "For the first number only" 2- You should allow two-digit results if necessary. Stretch goal "optional": Handle the remain of the division process and print it on the screen. Submission: Provide two files (.asm and screenshot). Use your university ID for files naming.arrow_forwardPlease, I need help with this assignment, please. I pasted the HTML file and JavaScript file at the bottom of the instruction. Thank you so much. Murach's JavaScript and jQuery 4th edition by MARY DELAMATER (Chapter 12) Develop a password generatorIn this exercise, you’ll develop an application that generates strong passwords of the length entered by the user.1. In the JavaScript file, note the getRandomNumber() function. Also, note that the ready event handler contains the handler for the click event of the Get Password button and the handler for the click event of the Clear button. The handler for the Get Password button clears the password text box and has a constant named chars that contains some characters. The handler for the Clear button resets the text boxes and moves the focus to the first text box.2. In the handler for the Get Password button, get the value entered by the user and make sure it’s a number. If it isn’t, display an alert dialog box with this message: “Please…arrow_forward* aut cad Realtime and point consider are sub-commands for the main command pan. True False * aut cad Zoom command is one of the drawing menu commands used to control the size of the view, zoom in and out in the AutoCAD program. False Truearrow_forward
- When importing a Text file, why is it important to move through each step of the Text Import Wizard?arrow_forwardHow to build a flowchart and Pseudocode for this project ?arrow_forwardPlease help me with this Create an unbreakable encryption and decryption program using java. Then create a GUI txt file. But use your own ideas. More information is down belowarrow_forward
- Open the command prompt, navigate to the directory in which you saved the image. You may use "cd" command for this purpose. Once in the directory, type "Python" + Enter to start python Now import the libraries that you need as follows: import numpy as np Import cv2 as cv Import matplotlib.pyplot as plt We read the image using the following lines: img = cv.imread("boat.png", cv.IMREAD_GRAYSCALE) print(img.shape) plt.imshow(img, cmap='gray') plt.show() The command "cv.imread" reads the image from disk into a numpy array. The previous lines read the image, print its size and display the image on screen. Now that we have the image read, we will do some basic image processing over the image. But first we need to convert the image from type "uint8" into"float32" and normalize it by 255. To do so, write the following: img = img.astype(np.float32)/255. In order to verify that the conversion is correct, display the image as above, you should see the same image. 1) Print the…arrow_forwardplease can you make a c++ code of this screenshot quesiton with the name of the file and the input file that you used when creating this code also please add professional comments at the end of each line using the // command thank youarrow_forwardWrite a macro named mWriteAt that locates the cursor and writes a string literal to the consolewindow. Suggestion: Invoke the mGotoxy and mWrite macros from the book’s macro library.arrow_forward
- • Use a while loop • Use multiple loop controlling conditions • Use a boolean method • Use the increment operator • Extra credit: Reuse earlier code and call two methods from main Details: This assignment will be completed using the Eclipse IDE. Cut and paste your code from Eclipse into the Assignment text window. This is another password program. In this case, your code is simply going to ask for a username and password, and then check the input against four users. The program will give the user three tries to input the correct username-password combination. There will be four acceptable user-password combinations: • alpha-alpha1 • beta-beta1 • gamma-gamma1 • delta - delta1 If the user types in one of the correct username-password combinations, then the program will output: "Login successful." Here are a couple of example runs (but your code needs to work for all four user-password combinations): Username: beta Type your current password: beta1 Login successful. Username: delta Type…arrow_forwardCreate an application that allows you to play the Rock-Paper-Scissors game against the computer. When played between two people, each chooses one of three possibilities (typically indicated by a hand gesture) at the same moment, and the winner is chosen.Rock defeats Scissors, Scissors defeats Paper, and Paper defeats Rock in the game. The programme should choose one of the three alternatives at random (without exposing it) and then prompt the user to choose. The programme then displays both options and publishes a statement stating whether the user won, the machine won, or it was a tie. Continue to play till the user decides to stop. The number of user wins, losses, and ties is then printed.arrow_forwardCreate a subroutine called WherePutMe that asks the user for a row number and column letter then places the 2,2 position of a selection into that cell. (HINT: Make sure that you select a selection before running the sub!) HINT: If x is an integer and is equal to 7 and y is a string and equal to "B", you can place z into cell B7 by: Range(y & x) = z. Hope this helps.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning