C#

Automated Encryption Engine

Project Goals

By 6 a.m. on Sunday, A team’s project is nearly finished. The Object of Your Affection (the name’s a work in progress) is getting attention from other teams in the hackathon. With one day left, they’re getting desperate. To steal A team’s project idea, their competitors have been reading their team’s emails!

  • Here I have written a cipher: a tool to encrypt text, making it unreadable to other teams.
  • Here I’ve decided to implement the Caesar Cipher, which was used by the Roman Empire to encode military secrets.

Alphabet with letters arranged in a circle
Takes every letter of the message and shifts it three places to the right.

For example, 
    A becomes D
    B becomes E
    C becomes F and 
    “attack” becomes “dwwdfn”.

👈🏻Click Here Emon-ProCoder7 | csharp



Money Maker

Project Goals

There are three types of coins:

A bronze coin is worth 1 cent,
A silver coin is worth 5 cents,
A gold coin is worth 10 cents.
  • What is the minimum number of coins that equals 98 cents?

It’s a hard question to answer in head. In this project I used C# to build a Money Maker: a program in which

  • A user enters an amount and gets the minimum number of coins that equal that value.
    For example, 16 cents could be:

16 bronze coins, 3 silver coins and 1 bronze coin, or 1 gold coin, 1 silver coin, 1 bronze coin 16 cents, divided three ways

We’d like the last option because it uses the fewest coins.

👈🏻Click Here Emon-ProCoder7 | csharp



Architect Arithmetic

Project Goals

Architects have big ideas – but big ideas can be expensive. How expensive? Depends on the size. …can be (approximately) broken into circles and rectangles. Let’s assume that tiles cost ₤180 each:

double tileCost = 180;
double totalCost = totalArea * tileCost;

Although the floor plan isn’t exactly one circle and rectangle, this approximation is good enough for estimating costs.

  • In this project, I have built a program that calculates the material cost for any architect’s floor plan.

👈🏻Click Here Emon-ProCoder7 | csharp



Mad Libs

Project Goals

  • In this project, I have used C# to write a Mad Libs word game!

Mad Libs are short stories with blanks for the player to fill in that represent different parts of speech. The end result is a really hilarious and strange story. Above there’s an example of the “Roses are Red” poem changed into a Mad Lib.

Mad Libs require:
A short story with blank spaces (asking for different types of words).
Words from the player to fill in those blanks.


For this project, I have provided the story, but it will be up to user to complete the following: Prompt the user for inputs. - It'll print the story with the inputs in the right places.

👈🏻Click Here Emon-ProCoder7 | csharp



Exquisite Corpse

Project Goals

In the game Exquisite Corpse, participants draw either a head, body, or feet of a creature. The players don’t know how their part of the body connects to the other two, until the drawing is finished and revealed.

For this project, I have written a program that,

  • Mimics the Exquisite Corpse game.
  • Players will be able to randomly combine different parts of ASCII characters so they create a new creature.

👈🏻Click Here Emon-ProCoder7 | csharp














Dance Competition

Project Goals

In a ballroom dancing competition, each dancer from a pair is evaluated separately, and then their points are summed up to get the total pair score. The program takes the names and the points of each dancer as input and creates a DancerPoints objects for each dancer, using the taken name and score values as parameters for constructors.


Here I’ve used Overload + operator to return a new object where:

  • The names of dancers are in one string and
  • The score is equal to the sum of their points.
Sample Input
Dave
8
Jessica
7

Sample Output
Dave & Jessica
15

👈🏻Click Here Emon-ProCoder7 | csharp



Drawing Application

Project Goals

As part of creating a drawing application,I have added pencil, brush and spray to the drawing toolbar.

The programn declares:

  • An IDraw interface with the StartDraw() method, and class Draw,
    which performs pencil drawing by implementing the IDraw interface.
  • Inherited them from class Draw
  • Implemented the StartDraw() method for each tool,
"Using brush" for Brush, or
"Using spray" for Spray.

👈🏻Click Here Emon-ProCoder7 | csharp



Social Network

Project Goals

  • As a part of social network application here is a project adding Post creation functionality.
    As a user creates a post, the text “New post” will be automatically outputted so that then the user can add the text he/she wants to share.

  • Once the program runs, then in main, the program will take the text of the post from the user,

  • create a post object,

  • assign the taken value to the text field and output it.

👈🏻Click Here Emon-ProCoder7 | csharp



Robot-barman

Project Goals

Robot-barman goal is to neatly arrange drinks on the shelves of the bar. He is very smart and takes as many drinks as are necessary to evenly distribute them on the shelves, but he still has some problems.

The program installed in the robot takes the number of drinks and the number of the shelves as input. This program evenly distributes the drinks on shelves: by dividing the number of drinks by the number of shelves and outputting the result.

The program also, handles those two possible problems:

  1. the divider (the number of shelves) should never be zero
  2. both inputs should be integers.

For the first exception, the program outputs

“At least 1 shelf” and for the second,
"Please insert an integer”.

Sample Input
6
two

Sample Output
Please insert an integer

👈🏻Click Here Emon-ProCoder7 | csharp



Words

Project Goals

The program defines an array with 10 words and takes a letter as input from User.

  • Here is a program to iterate through the array and output words containing the taken letter.
  • If there is no such word, the program outputs “No match”.
Sample Input
u

Sample Output
fun

👈🏻Click Here Emon-ProCoder7 | csharp



Md. Tabassum Hossain Emon
Md. Tabassum Hossain Emon

My research interests include Precision Medicine, Cancer Biology, and Metagenomics.

Related