Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Bibekdhkl's full-sized avatar
:octocat:
Fooooooooooooooooooooooooooooooooooooooooooocus

Bibek Dhakal Bibekdhkl

:octocat:
Fooooooooooooooooooooooooooooooooooooooooooocus
View GitHub Profile
@Bibekdhkl
Bibekdhkl / .cpp
Last active March 21, 2021 04:10
TollBooth problem of CPP
#include<iostream>
using namespace std;
class TollBooth{
unsigned int no_of_car;
double cash_total;
public:
TollBooth(){
no_of_car=0;
@Bibekdhkl
Bibekdhkl / .cpp
Last active March 21, 2021 03:52
C++ program to open Bank account for new customer and also to deposit and withdraw the amount.
#include<iostream>
#include<string.h>
using namespace std;
class Bank{
char name[20];
unsigned int balance;
char bank_number[20];
public:
@Bibekdhkl
Bibekdhkl / .c
Created March 14, 2021 18:57
TEST problem need help in managing memory
/*
TEST - Life, the Universe, and Everything
#basic #tutorial #ad-hoc-1
Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.
Example
Input:
1
2
Test Gist Test Gist!