programming homework

0 comments

Instructions: Write the following programs in C# using concepts learnt in this chapter and submit the .cs file with the screenshot of your output for each question in the Lab Assignment 2 Submission page.

1. FRENCH TRANSLATOR
Look at the following list of French words and their meanings:

In French: gauche milieu droite

In English: left middle right

Create an application that translates the French words to English. The form should
have three buttons, one for each French word. When the user clicks a button, the
application should display the English translation in a Label control.
2. Miles Per Hour Calculator

Create an application that calculates mph or (Miles Per Hour). There should be 2 textboxes for input, and 2 labels to label the input textboxes. The first textbox should be the miles driven. And the other textbox should be hours taken.

There should be a button to calculate miles per hour. And a label or textbox for the results of the calculate.

  1. textbox for miles [input]
  2. textbox for hours (time used) [input]
  3. label for miles textbox
  4. label for hours textbox
  5. button for calculate mph [to start program]
  6. label or textbox to get results [output]
Assignment Submission:
  • Submit your whole project solution in a (.zip) file for each program.

Lab Assignment Grading

PreviousNext

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}