Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Sharon has started to use both the stock details management and the file information viewer
features of the application. However, while using the file information viewer application, she
accidentally enters the path of a folder that does not exist on her computer. This caused the
application to stop responding. In addition, the format in which the stock details are displayed is
not clear. Therefore, she asks Hayley to modify the application so that:
The file information viewer does not stop responding in case a specified folder does not exist.
The stock details management application adds a line break before every stock details entry
whenever a new entry is added to the stock details file.
Write the code snippets that Hayley should use to address the preceding two requirements [10
Marks]
a program that first asks for two integer values A and B,program should then pick a random number between A and B and keep it secret. Then ask the user to guess what the number is. The program should continue to ask the user to guess, until the user gets the correct answer. Each time the user makes an incorrect guess, the program should tell the user if the guess was too high, or too low. The program should also tell the user if the guess was outside the range between A and B.
create a console program to create a file of numbers then store even & odd numbers of that file in two seperate files
When the application starts, it should display a message asking the user to enter either option d or
v. The application should execute the following actions for the two options:
d: The application should display the file extension of the stock details.
v: The application should open the stock details file in the read-only mode and display its
contents.
Write the code snippet that Hayley should use to implement the desired functionality in the
application.
In case the user presses any other key, the application should open the stock details file in the
read/write mode, display a message to enter new stock details, and save the details that the user
has entered. Write the code snippet that Hayley should use to accomplish the preceding task. [10
1)Write a program that asks the user to enter a number of seconds.
 There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the
program should display the number of minutes in that many seconds.
 There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the
program should display the number of hours in that many seconds.
 There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the
program should display the number of days in that many seconds.
2)The area of a rectangle is the rectangle’s length times its width. Write a program that asks for the length and width of two
rectangles. The program should tell the user which rectangle has the greater area, or if the areas are the same.
Finding a sequence of contiguous elements in
an array of integers with the sum closest to F.
program to find factorial of re....
Program to generate even No. 22 to 40
Find Fibonacci server
Program to generate odd No. 1 to 50 exp 17
LATEST TUTORIALS
APPROVED BY CLIENTS