Home / Expert Answers / Computer Science / in-c-please-assignment-2b-fast-forwarding-a-trick-for-getting-through-video-lectures-faster-esp-pa333

(Solved): in c# please. Assignment 2B: Fast-forwarding. A trick for getting through video lectures faster (esp ...




Assignment 2B:
Fast-forwarding. A trick for getting through video lectures faster (especially if your instructors voice is n
Sample Output \#1:
[Fast-Forward]
What is the original video time? \( 2.30 \)
What is the playback speed factor? 2
The new vi
in c# please.
Assignment 2B: Fast-forwarding. A trick for getting through video lectures faster (especially if your instructor's voice is not the most entertaining) is to increase the playback speed. Common factors are 1.25, , and 2 times faster playback speeds. How much time could you save this way? In this assignment, you'll write a program to help you find out. Prompt the user to enter the original video time as a floating point value (e.g. a two minute, thirty second video should be entered as 2.30). Next, have the user enter the playback speed factor, again as a floating point value (e.g. 1.25). You can assume the user will never enter a value less than or equal to 0. Once you have this information, you will need to convert the original time into seconds - in the above example, two minutes and thirty seconds would be 150 seconds. Then use the factor to determine what the new video time would be. Display the results in seconds. Note that you *must* use an integer data type to store the new video time. Hint: Remember casting. Also, what happens to the decimals when you convert a floating point value to an integer? How could that help you with this assignment? The algorithm output is as shown below, with user input in bold. Follow the output format exactly. Save your source code in a file called Assignment2B (with a file extension of .cpp, .cs or .java) Sample Output \#1: [Fast-Forward] What is the original video time? What is the playback speed factor? 2 The new video time would be 75 second(s). That saves you 75 second(s) from the original video speed. Sample Output \#2: [Fast-Forward] What is the original video time? What is the playback speed factor? The new video time would be 136 second(s). That saves you 103 second(s) from the original video speed.


We have an Answer from Expert

View Expert Answer

Expert Answer


STEP 1In first step we will understanding algorithm we are going to use:Get the original video time and playback speed factor from the userConvert the
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe