Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankgb2 authored Oct 17, 2019
2 parents b9d4b1b + 69cb24b commit 3f5e64e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 11 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Hanahah

sure
22 changes: 22 additions & 0 deletions binary.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include<stdio.h>
#include<math.h>
void main()
{

int a,c,b;
printf("Enter a number\n");
scanf("%d",&a);
c=a;
b=c;
while(c>1)
{ int count = 0;
do
{
c=c/2;
count++;
}while(c>1);
b = b-pow(2,count);
printf("%d ",b);
c=b;
}
}
2 changes: 1 addition & 1 deletion file5.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p> Hactoberfest 2019 </p>
<p> Hacktoberfest 2019 </p>
11 changes: 1 addition & 10 deletions hack4.py
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@

# Python program to print
# ASCII Value of Character

# In c we can assign different
# characters of which we want ASCII value

c = 'g'
# print the ASCII value of assigned character in c
print("The ASCII value of '" + c + "' is", ord(c))
import datetime
8 changes: 8 additions & 0 deletions hello.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include <stdio.h>

int main()
{

printf("I am Trying to learn something");
return 0;
}

0 comments on commit 3f5e64e

Please sign in to comment.