Skip to content

Commit

Permalink
new code
Browse files Browse the repository at this point in the history
  • Loading branch information
harun181 committed Jul 26, 2022
1 parent b28d782 commit 27db0d3
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 51 deletions.
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: gcc.exe build active file",
"command": "C:\\MinGW\\bin\\gcc.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
1 change: 1 addition & 0 deletions Array/12. Union & Intersection/uni_int.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write a C program to find union and intersection of this Array
18 changes: 18 additions & 0 deletions If-Else/31. Date converseion/convert.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Program to convert Days into years, months and Weeks
#include <stdio.h>
int main()
{
int days, years, weeks;
// Ask user to input number of days
printf("Enter days: ");
scanf("%d", &days);
// Ignoring leap year
years = (days / 365);
weeks = (days % 365) / 7;
days = (days % 365) % 7;
// Print the result
printf("YEARS: %d\n", years);
printf("WEEKS: %d\n", weeks);
printf("DAYS: %d", days);
return 0;
}
Binary file added If-Else/31. Date converseion/convert.exe
Binary file not shown.
108 changes: 57 additions & 51 deletions README.md01~ → README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Hey, thanks for using the awesome-readme-template template.
If you have any enhancements, then fork this project and create a pull request
Hey, thanks for using the awesome-readme-template template.
If you have any enhancements, then fork this project and create a pull request
or just open an issue with the label "enhancement".
Don't forget to give this project a star for additional support ;)
Expand All @@ -10,12 +10,11 @@ Maybe you can mention me or this repo in the acknowledgements too

<img src="assets/logo.png" alt="logo" width="200" height="auto" />
<h1>Awesome Readme Template</h1>

<p>
An awesome README template for your projects!
An awesome README template for your projects!
</p>



<!-- Badges -->
<p>
<a href="https://github.com/Louis3797/awesome-readme-template/graphs/contributors">
Expand All @@ -37,7 +36,7 @@ Maybe you can mention me or this repo in the acknowledgements too
<img src="https://img.shields.io/github/license/Louis3797/awesome-readme-template.svg" alt="license" />
</a>
</p>

<h4>
<a href="https://github.com/Louis3797/awesome-readme-template/">View Demo</a>
<span> · </span>
Expand All @@ -52,44 +51,44 @@ Maybe you can mention me or this repo in the acknowledgements too
<br />

<!-- Table of Contents -->

# :notebook_with_decorative_cover: Table of Contents

- [About the Project](#star2-about-the-project)
* [Screenshots](#camera-screenshots)
* [Tech Stack](#space_invader-tech-stack)
* [Features](#dart-features)
* [Color Reference](#art-color-reference)
* [Environment Variables](#key-environment-variables)
- [Screenshots](#camera-screenshots)
- [Tech Stack](#space_invader-tech-stack)
- [Features](#dart-features)
- [Color Reference](#art-color-reference)
- [Environment Variables](#key-environment-variables)
- [Getting Started](#toolbox-getting-started)
* [Prerequisites](#bangbang-prerequisites)
* [Installation](#gear-installation)
* [Running Tests](#test_tube-running-tests)
* [Run Locally](#running-run-locally)
* [Deployment](#triangular_flag_on_post-deployment)
- [Prerequisites](#bangbang-prerequisites)
- [Installation](#gear-installation)
- [Running Tests](#test_tube-running-tests)
- [Run Locally](#running-run-locally)
- [Deployment](#triangular_flag_on_post-deployment)
- [Usage](#eyes-usage)
- [Roadmap](#compass-roadmap)
- [Contributing](#wave-contributing)
* [Code of Conduct](#scroll-code-of-conduct)
- [Code of Conduct](#scroll-code-of-conduct)
- [FAQ](#grey_question-faq)
- [License](#warning-license)
- [Contact](#handshake-contact)
- [Acknowledgements](#gem-acknowledgements)



<!-- About the Project -->
## :star2: About the Project

## :star2: About the Project

<!-- Screenshots -->

### :camera: Screenshots

<div align="center">
<div align="center">
<img src="https://placehold.co/600x400?text=Your+Screenshot+here" alt="screenshot" />
</div>


<!-- TechStack -->

### :space_invader: Tech Stack

<details>
Expand All @@ -110,7 +109,7 @@ Maybe you can mention me or this repo in the acknowledgements too
<li><a href="https://go.dev/">Golang</a></li>
<li><a href="https://nestjs.com/">Nest.js</a></li>
<li><a href="https://socket.io/">SocketIO</a></li>
<li><a href="https://www.prisma.io/">Prisma</a></li>
<li><a href="https://www.prisma.io/">Prisma</a></li>
<li><a href="https://www.apollographql.com/">Apollo</a></li>
<li><a href="https://graphql.org/">GraphQL</a></li>
</ul>
Expand All @@ -137,24 +136,26 @@ Maybe you can mention me or this repo in the acknowledgements too
</details>

<!-- Features -->

### :dart: Features

- Feature 1
- Feature 2
- Feature 3

<!-- Color Reference -->

### :art: Color Reference

| Color | Hex |
| ----------------- | ------------------------------------------------------------------ |
| Primary Color | ![#222831](https://via.placeholder.com/10/222831?text=+) #222831 |
| Color | Hex |
| --------------- | ---------------------------------------------------------------- |
| Primary Color | ![#222831](https://via.placeholder.com/10/222831?text=+) #222831 |
| Secondary Color | ![#393E46](https://via.placeholder.com/10/393E46?text=+) #393E46 |
| Accent Color | ![#00ADB5](https://via.placeholder.com/10/00ADB5?text=+) #00ADB5 |
| Text Color | ![#EEEEEE](https://via.placeholder.com/10/EEEEEE?text=+) #EEEEEE |

| Accent Color | ![#00ADB5](https://via.placeholder.com/10/00ADB5?text=+) #00ADB5 |
| Text Color | ![#EEEEEE](https://via.placeholder.com/10/EEEEEE?text=+) #EEEEEE |

<!-- Env Variables -->

### :key: Environment Variables

To run this project, you will need to add the following environment variables to your .env file
Expand All @@ -164,9 +165,11 @@ To run this project, you will need to add the following environment variables to
`ANOTHER_API_KEY`

<!-- Getting Started -->
## :toolbox: Getting Started

## :toolbox: Getting Started

<!-- Prerequisites -->

### :bangbang: Prerequisites

This project uses Yarn as package manager
Expand All @@ -176,6 +179,7 @@ This project uses Yarn as package manager
```

<!-- Installation -->

### :gear: Installation

Install my-project with npm
Expand All @@ -184,8 +188,9 @@ Install my-project with npm
yarn install my-project
cd my-project
```

<!-- Running Tests -->

### :test_tube: Running Tests

To run tests, run the following command
Expand All @@ -195,6 +200,7 @@ To run tests, run the following command
```

<!-- Run Locally -->

### :running: Run Locally

Clone the project
Expand All @@ -221,8 +227,8 @@ Start the server
yarn start
```


<!-- Deployment -->

### :triangular_flag_on_post: Deployment

To deploy this project run
Expand All @@ -231,78 +237,78 @@ To deploy this project run
yarn deploy
```


<!-- Usage -->

## :eyes: Usage

Use this space to tell a little more about your project and how it can be used. Show additional screenshots, code samples, demos or link to other resources.


```javascript
import Component from 'my-project'
import Component from "my-project";

function App() {
return <Component />
return <Component />;
}
```

<!-- Roadmap -->
## :compass: Roadmap

* [x] Todo 1
* [ ] Todo 2
## :compass: Roadmap

- [x] Todo 1
- [ ] Todo 2

<!-- Contributing -->

## :wave: Contributing

<a href="https://github.com/Louis3797/awesome-readme-template/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Louis3797/awesome-readme-template" />
</a>


Contributions are always welcome!

See `contributing.md` for ways to get started.


<!-- Code of Conduct -->

### :scroll: Code of Conduct

Please read the [Code of Conduct](https://github.com/Louis3797/awesome-readme-template/blob/master/CODE_OF_CONDUCT.md)

<!-- FAQ -->

## :grey_question: FAQ

- Question 1

+ Answer 1
- Answer 1

- Question 2

+ Answer 2

- Answer 2

<!-- License -->

## :warning: License

Distributed under the no License. See LICENSE.txt for more information.


<!-- Contact -->

## :handshake: Contact

Your Name - [@twitter_handle](https://twitter.com/twitter_handle) - email@email_client.com

Project Link: [https://github.com/Louis3797/awesome-readme-template](https://github.com/Louis3797/awesome-readme-template)


<!-- Acknowledgments -->

## :gem: Acknowledgements

Use this section to mention useful resources and libraries that you have used in your projects.

- [Shields.io](https://shields.io/)
- [Awesome README](https://github.com/matiassingers/awesome-readme)
- [Emoji Cheat Sheet](https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md#travel--places)
- [Readme Template](https://github.com/othneildrew/Best-README-Template)
- [Shields.io](https://shields.io/)
- [Awesome README](https://github.com/matiassingers/awesome-readme)
- [Emoji Cheat Sheet](https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md#travel--places)
- [Readme Template](https://github.com/othneildrew/Best-README-Template)

0 comments on commit 27db0d3

Please sign in to comment.