forked from maheshwar2611/hacktober5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
Hanahah | ||
|
||
sure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<p> Hactoberfest 2019 </p> | ||
<p> Hacktoberfest 2019 </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |